From 0183eb9419ca8fe44d254c91dba2d5b7a8d621f1 Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Wed, 5 Sep 2012 20:43:33 -0400 Subject: [PATCH] fix for a mistake in the punting code --- weekly-update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5