From c8060686833fac9140ece71a0b46ad0b97797c54 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 20 Mar 2019 21:12:43 -0400 Subject: [PATCH] fix missing import --- archivebox/archive_methods.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archivebox/archive_methods.py b/archivebox/archive_methods.py index f4a0eda5..2efc0700 100644 --- a/archivebox/archive_methods.py +++ b/archivebox/archive_methods.py @@ -46,6 +46,7 @@ from util import ( without_query, without_fragment, fetch_page_title, + is_static_file, progress, chmod_file, pretty_path, @@ -554,7 +555,7 @@ def fetch_media(link_dir, link, timeout=MEDIA_TIMEOUT, overwrite=False): pass else: hints = ( - 'got youtubedl response code {}:'.format(result.returncode)), + 'got youtubedl response code {}:'.format(result.returncode), *result.stderr.decode().split('\n'), ) raise ArchiveError('Failed to download media', hints)