mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00
remove commented lines
This commit is contained in:
parent
b7785c4138
commit
1f91f5b102
1 changed files with 1 additions and 4 deletions
|
@ -190,10 +190,7 @@ class Link:
|
||||||
for key, val in json_info.items()
|
for key, val in json_info.items()
|
||||||
if key in cls.field_names()
|
if key in cls.field_names()
|
||||||
}
|
}
|
||||||
# try:
|
info['updated'] = parse_date(info.get('updated'))
|
||||||
info['updated'] = parse_date(info.get('updated')) # Cast to int which comes with rounding down
|
|
||||||
# except (ValueError, TypeError):
|
|
||||||
# info['updated'] = None
|
|
||||||
info['sources'] = info.get('sources') or []
|
info['sources'] = info.get('sources') or []
|
||||||
|
|
||||||
json_history = info.get('history') or {}
|
json_history = info.get('history') or {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue