Skip to content

Commit

Permalink
(fix): rewritten_by was not being cleared in stats
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkLark86 committed Nov 1, 2019
1 parent 69011cb commit 8ad91dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/analytics/stats/gen_archive_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def set_metadata_updates(self, item, history):
item['updates']['firstcreated'] = created

for field in fields:
if history['update'].get(field):
if field in history['update']:
item['updates'][field] = history['update'][field]

def process_timelines(self, items, failed_ids):
Expand Down

0 comments on commit 8ad91dd

Please sign in to comment.