Browse Source

attempt to fix URLs but still broken I fear

add-quote-import
Michael Murtaugh 10 years ago
parent
commit
117430b359
  1. 2
      etherdump

2
etherdump

@ -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…
Cancel
Save