From e58d0baec3939d06c39e1a1d511676a62aa0811f Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Tue, 12 Mar 2013 20:54:14 +0100 Subject: [PATCH] fix --- d3mapbuilder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/d3mapbuilder.py b/d3mapbuilder.py index 1c8ee94..0d824be 100644 --- a/d3mapbuilder.py +++ b/d3mapbuilder.py @@ -8,8 +8,7 @@ class D3MapBuilder: def build(self): output = dict() - now = datetime.datetime.utcnow() - now.microsecond = 0 + now = datetime.datetime.utcnow().replace(microsecond=0) nodes = self._db.get_nodes()