Commit ea5b8595 authored by Bruno Duyé's avatar Bruno Duyé

Download: remove timestamps from json source-data

parent e8c279c1
......@@ -207,6 +207,9 @@ def get_from_api(url, raise_on_errors=True):
if error:
return None
results = content_dict['BEAAPI']['Results']
# Remove "UTCProductionTime" key to avoid useless comits in source data
if results.get("UTCProductionTime"):
results["UTCProductionTime"] = 'XXXX-XX-XXTXX:XX:XX.XXX'
return results
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment