Browse Source

fix missing import

Nick Sweeting 6 years ago
parent
commit
c806068683
1 changed files with 2 additions and 1 deletions
  1. 2 1
      archivebox/archive_methods.py

+ 2 - 1
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)