Trying to get python bridge to work.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user