diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py index ad320c6f15e1a060ba41db0e301e7b7424e01ae1..da721ec3535fba306e2db3eacf76a6b700cba9fd 100644 --- a/src/caoscrawler/crawl.py +++ b/src/caoscrawler/crawl.py @@ -1187,7 +1187,7 @@ def _fix_file_paths(crawled_data: list[db.Entity], If remove_prefix is not None the given prefix will be removed from the front of elem.path. In this case a RuntimeError will be raised if any path of a file does not begin with "remove_prefix". - + """ for elem in crawled_data: if isinstance(elem, db.File): diff --git a/unittests/test_utilities.py b/unittests/test_utilities.py index 529d6c2373eb3f8e8ed3f97f28a97294655d4d42..5a80ab9b230db4540d741bf8fa4f9d11b5158aab 100644 --- a/unittests/test_utilities.py +++ b/unittests/test_utilities.py @@ -22,7 +22,6 @@ from caoscrawler.crawl import split_restricted_path - def test_split_restricted_path(): assert split_restricted_path("") == [] assert split_restricted_path("/") == []