From 1a6344fccf35021ba5c97c8dea3b62740fd7a996 Mon Sep 17 00:00:00 2001 From: "support.sampyo" Date: Fri, 31 May 2024 01:41:55 +0000 Subject: [PATCH] Commit message --- control.json | 2 +- framework.yaml | 2 +- main.py | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/control.json b/control.json index 8aef804..d60174b 100644 --- a/control.json +++ b/control.json @@ -13,7 +13,7 @@ }, "pure": { "action": "Off", - "duration": 9, + "duration": 10, "holding": 7 }, "enter":{ diff --git a/framework.yaml b/framework.yaml index 21f4197..081e8a7 100644 --- a/framework.yaml +++ b/framework.yaml @@ -7,5 +7,5 @@ spec: virtualEnv: base # 사용할 가상환경 이름입니다. package: requirements.txt # 설치할 Python 패키지 정보 파일입니다.(기본 값은 requirement.txt 입니다.) stackbase: - tagName: v0.0.37 # Stackbase(gitea)에 릴리즈 태그명 입니다. + tagName: v0.0.38 # Stackbase(gitea)에 릴리즈 태그명 입니다. repoName: sampyo-dio # Stackbase(gitea)에 저장될 저장소 이릅니다. diff --git a/main.py b/main.py index b4debf0..efd5756 100644 --- a/main.py +++ b/main.py @@ -329,9 +329,10 @@ def handle_client(conn, ip, port): cmd['type'] = 'clean' with open('./control.json', 'w') as f: - json.dunp(cmd, f, indent=4) - send_msg = 'STXOKETX' - conn.sendall(send_msg.encode("utf8")) + json.dump(cmd, f, indent=4) + + send_msg = 'STXOKETX' + conn.sendall(send_msg.encode("utf8")) except Exception as e: err_msg = 'STXERRORETX' conn.sendall(err_msg.encode("utf8"))