From 117430b3595605a27cae3f23058b27606cbb5c21 Mon Sep 17 00:00:00 2001 From: Michael Murtaugh Date: Thu, 5 Mar 2015 18:24:12 +0100 Subject: [PATCH] attempt to fix URLs but still broken I fear --- etherdump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etherdump b/etherdump index 2e3da39..1250d76 100755 --- a/etherdump +++ b/etherdump @@ -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)