attempt to fix URLs but still broken I fear
This commit is contained in:
parent
290a0e3b72
commit
117430b359
@ -382,7 +382,7 @@ if __name__ == "__main__":
|
|||||||
elif cmd == "index":
|
elif cmd == "index":
|
||||||
|
|
||||||
def augment_info(info, groupinfo):
|
def augment_info(info, groupinfo):
|
||||||
if info.get("last_edited") != None:
|
if info.get("last_edited"):
|
||||||
dt = datetime.strptime( info.get("last_edited"), "%Y-%m-%dT%H:%M:%S" )
|
dt = datetime.strptime( info.get("last_edited"), "%Y-%m-%dT%H:%M:%S" )
|
||||||
info['last_edited_parsed'] = dt
|
info['last_edited_parsed'] = dt
|
||||||
info['last_edited_str'] = str(dt)
|
info['last_edited_str'] = str(dt)
|
||||||
|
Loading…
Reference in New Issue
Block a user