mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-24 15:13:03 +02:00
remove commented lines
This commit is contained in:
@@ -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 {}
|
||||
|
Reference in New Issue
Block a user