FIX: fix test code

This commit is contained in:
이수준 2023-10-12 09:44:38 +09:00
parent 9936f02487
commit 15c1d09923
2 changed files with 5 additions and 2 deletions

View File

@ -17,9 +17,11 @@ with open(f'/usr/local/sdt/app/{args.config}/config.yaml', encoding='UTF-8') as
# mqttc = mqtt.Client() # puclisher 이름 # mqttc = mqtt.Client() # puclisher 이름
# mqttc.username_pw_set("sdt", "251327") # mqttc.username_pw_set("sdt", "251327")
# mqttc.connect("13.209.39.139", 32259) # mqttc.connect("13.209.39.139", 32259)
f = open(f'/usr/local/sdt/app/{args.config}/text.txt')
# f = open(f'./text.txt', 'w')
while True: while True:
print(f"Config value: {yamlData['topic']}") f.write(f"Config value: {yamlData['topic']} \n")
# print(f"Config value: {yamlData['topic']}")
# dataList = [] # dataList = []
# for n in range(10): # for n in range(10):
# data = { # data = {

1
text.txt Normal file
View File

@ -0,0 +1 @@
TEST!!!