Skip to content

Commit

Permalink
processors/archive_webpages: remove archive_error key from items on s…
Browse files Browse the repository at this point in the history
…uccessful archival
  • Loading branch information
nodiscc committed Dec 20, 2023
1 parent 6d6999b commit a33b007
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hecat/processors/archive_webpages.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def archive_webpages(step):
if local_archive_path is not None:
item2['archive_path'] = local_archive_path
downloaded_count = downloaded_count + 1
item2.pop('archive_error', None)
else:
item2['archive_error'] = True
error_count = error_count + 1
Expand Down

0 comments on commit a33b007

Please sign in to comment.