diff --git a/crawl.py b/crawl.py index ecd9cae..3b44654 100755 --- a/crawl.py +++ b/crawl.py @@ -196,7 +196,7 @@ else: retrieve_date = _get_date() if args.cache_dir is not None: - filepath = pathlib.Path(os.path.abspath(args.cache_dir)) + filepath = pathlib.Path(args.cache_dir).resolve() else: filepath = pathlib.Path(appdirs.user_cache_dir('FirstDataCrawler', 'iwonder')) if not filepath.exists():