👍️[Update] Controller : controller関数をすべてclassに内包するように変更

This commit is contained in:
misyaguziya
2024-09-24 20:17:30 +09:00
parent 5bdc3a1a09
commit e119647545
2 changed files with 1522 additions and 1339 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3,9 +3,11 @@ import json
import time
from threading import Thread
from queue import Queue
import webui_controller as controller
from webui_controller import Controller
from utils import printLog, printResponse, encodeBase64
controller = Controller()
mapping = {
# Main Window
"/set/enable/translation": {"status": False, "variable":controller.setEnableTranslation},