From 79d2365a2b63aed1e923b6d072374b36ddccbecd Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Thu, 11 Jun 2020 12:58:14 +0300 Subject: [PATCH] Added fix related to pyngrok 4.* updates --- Defs/ActionManager/Server/server_runner.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Defs/ActionManager/Server/server_runner.py b/Defs/ActionManager/Server/server_runner.py index 9fb3f4b..8979878 100644 --- a/Defs/ActionManager/Server/server_runner.py +++ b/Defs/ActionManager/Server/server_runner.py @@ -113,7 +113,10 @@ def start_localhost(port): def start_ngrok(port): - ngrok.DEFAULT_CONFIG_PATH = ".config/ngrok.yml" + #ngrok.DEFAULT_CONFIG_PATH = ".config/ngrok.yml" + # ngrok_conf.DEFAULT_NGROK_CONFIG_PATH = ".config/ngrok.yml" # Prabably way to go, but i'm not sure yet... + + ngrok_conf.PyngrokConfig(config_path=".config/ngrok.yml") run_command(['killall', '-2', 'ngrok'], stdout=DEVNULL, stderr=DEVNULL) run_command('clear')