1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-25 23:36:22 +02:00

actually fix path

This commit is contained in:
Nick Sweeting
2019-03-08 17:10:18 -05:00
parent 5c401007d3
commit 450b4534ad

View File

@@ -271,7 +271,7 @@ def wget_output_path(link, look_in=None):
if re.search(".+\\.[Hh][Tt][Mm][Ll]?$", f, re.I | re.M)
]
if html_files:
return urlencode(os.path.join(ARCHIVE_DIR, link['timestamp'], *wget_folder, html_files[0]))
return urlencode(os.path.join('archive', link['timestamp'], *wget_folder, html_files[0]))
return None