1
0
Fork 0
mirror of synced 2024-06-02 18:44:59 +12:00

remove commented lines

This commit is contained in:
Apkallum 2020-07-16 19:42:20 -04:00 committed by GitHub
parent b7785c4138
commit 1f91f5b102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,10 +190,7 @@ class Link:
for key, val in json_info.items()
if key in cls.field_names()
}
# try:
info['updated'] = parse_date(info.get('updated')) # Cast to int which comes with rounding down
# except (ValueError, TypeError):
# info['updated'] = None
info['updated'] = parse_date(info.get('updated'))
info['sources'] = info.get('sources') or []
json_history = info.get('history') or {}