👍️[Update] Model : status 348のlog を printLog関数に集約
This commit is contained in:
@@ -6,6 +6,7 @@ import json
|
||||
import time
|
||||
from config import config
|
||||
import webui_controller as controller
|
||||
from utils import printLog
|
||||
|
||||
config_mapping = {
|
||||
"/config/version": "VERSION",
|
||||
@@ -372,7 +373,7 @@ if __name__ == "__main__":
|
||||
time.sleep(0.1)
|
||||
|
||||
for endpoint, value in controller_mapping.items():
|
||||
print(json.dumps({"status":348, "log": f"endpoint: {endpoint}"}))
|
||||
printLog("endpoint", endpoint)
|
||||
|
||||
match endpoint:
|
||||
case "/controller/callback_messagebox_press_key_enter":
|
||||
|
||||
Reference in New Issue
Block a user