Trying to get python bridge to work.

This commit is contained in:
Raphaël Numbus
2026-05-17 13:42:16 +02:00
parent c5d81677a1
commit 8c4dc60b68
+4 -4
View File
@@ -6,10 +6,10 @@ import sys
### Variables -->
SECRET_PATH = "/run/user/{}/numbus".format(os.getuid()) if os.path.exists("/run/user/{}".format(os.getuid())) else "../secrets"
os.makedirs(SECRET_PATH, exist_ok=True)
LOGS_DIR = "../logs/"
PAGES_DIR = "../pages/"
CONFIG_DIR = "../config/"
SIGNALS_DIR = "../signal/"
LOGS_DIR = "../web/logs/"
PAGES_DIR = "../web/pages/"
CONFIG_DIR = "../web/config/"
SIGNALS_DIR = "../web/signal/"
### <-- Variables
class BridgeHandler(http.server.SimpleHTTPRequestHandler):