From: Benjamin Mako Hill Date: Thu, 6 Sep 2012 00:43:33 +0000 (-0400) Subject: fix for a mistake in the punting code X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/0183eb9419ca8fe44d254c91dba2d5b7a8d621f1?ds=inline fix for a mistake in the punting code --- diff --git a/weekly-update.py b/weekly-update.py index eddb2c1..9cd240c 100755 --- a/weekly-update.py +++ b/weekly-update.py @@ -74,7 +74,7 @@ if punt: bloggers = yaml.safe_load(b) for p in punt: if 'end' not in bloggers[p]: - bloggers[p]['end'] = date + bloggers[p]['end'] = datetime.date(*map(int, date.split("-"))) with open('bloggers.yml','w') as b: yaml.safe_dump(bloggers, b)