fix routes dir resolving

This commit is contained in:
Maxim Slipenko 2023-09-07 20:27:37 +03:00
parent 481b92d7d1
commit 20fd8cb6ff

View File

@ -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()