From aa11f0a7645d0ac12fef0d9d8c8b71d66596c65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Thu, 2 Feb 2023 12:19:39 +0100 Subject: [PATCH] FIX: set unset variable --- src/caoscrawler/crawl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py index caf98e75..d300c52d 100644 --- a/src/caoscrawler/crawl.py +++ b/src/caoscrawler/crawl.py @@ -1457,6 +1457,7 @@ def main(): if args.add_cwd_to_path: sys.path.append(os.path.abspath(".")) + restrict_path = None if args.restrict_path: restricted_path = split_restricted_path(args.restrict_path) if args.restrict: -- GitLab