From 20fd8cb6ff115fcc8c7f6947eb72c890b9207dc5 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Thu, 7 Sep 2023 20:27:37 +0300 Subject: [PATCH] fix routes dir resolving --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 94eed45..9015800 100644 --- a/main.py +++ b/main.py @@ -119,7 +119,7 @@ def start(args): for route in old_routes: api.remove_ip_route(route) - routes_dir = os.path.abspath(config.get('app', 'dir')) + routes_dir = os.path.normpath(os.path.join(parent_dir, config.get('app', 'dir'))) routes = list()