mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-03-15 20:43:02 +10:00
fix exception format string
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user