Browse Source

fix exception format string

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

+ 1 - 1
archivebox/archive_methods.py

@@ -120,7 +120,7 @@ def archive_link(link_dir, link, overwrite=True):
         write_link_index(link_dir, link)
 
     except Exception as err:
-        print('    ! Failed to archive link: {err.__class__.__name__}: {err}')
+        print('    ! Failed to archive link: {}: {}'.format(err.__class__.__name__, err))
     
     return link