attempt to fix URLs but still broken I fear

This commit is contained in:
Michael Murtaugh 2015-03-05 18:24:12 +01:00
parent 290a0e3b72
commit 117430b359

View File

@ -382,7 +382,7 @@ if __name__ == "__main__":
elif cmd == "index":
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" )
info['last_edited_parsed'] = dt
info['last_edited_str'] = str(dt)