mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
fix exception format string
This commit is contained in:
parent
705abda1a5
commit
d8c7c98c01
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue