1
0
Fork 0
mirror of synced 2024-06-24 00:50:23 +12:00

fix: Wget issue when calculating output path

This commit is contained in:
Cristian 2021-01-19 10:59:50 -05:00
parent 891dd3b8a9
commit ab311d86e1

View file

@ -180,7 +180,7 @@ def wget_output_path(snapshot: Model) -> Optional[str]:
# Move up one directory level
search_dir = search_dir.parent
if str(search_dir) == snapshot.snapshot_dir:
if search_dir == snapshot.snapshot_dir:
break
search_dir = Path(snapshot.snapshot_dir) / domain(snapshot.url).replace(":", "+") / urldecode(full_path)