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