fix: Overwrite(add command) was using snapshots without timestamps (and in memory), causing issues with some extractors

This commit is contained in:
Cristian 2021-01-16 14:11:45 -05:00
parent a36f36866f
commit 30c886d4d4
3 changed files with 3 additions and 1 deletions

View file

@ -114,7 +114,7 @@ def archive_snapshot(snapshot: Model, overwrite: bool=False, methods: Optional[I
# print('{black} X {}{reset}'.format(method_name, **ANSI))
stats['skipped'] += 1
except Exception as e:
raise Exception('Exception in archive_methods.save_{}(Link(url={}))'.format(
raise Exception('Exception in archive_methods.save_{}(Snapshot(url={}))'.format(
method_name,
snapshot.url,
)) from e