From: Benjamin Mako Hill Date: Sun, 17 Jun 2012 21:25:24 +0000 (-0400) Subject: fix another bug related to punting and dates X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/a62186167d0f2c82668c5e10df438391e3a84f01 fix another bug related to punting and dates This led to folks being charged after they were punted (but before the day that the script was run). --- diff --git a/weekly-update.py b/weekly-update.py index 758bb69..f55c69c 100755 --- a/weekly-update.py +++ b/weekly-update.py @@ -77,7 +77,7 @@ if punt: bloggers = yaml.safe_load(b) for p in punt: if 'end' not in bloggers[p]: - bloggers[p]['end'] = today + bloggers[p]['end'] = date with open('bloggers.yml','w') as b: yaml.safe_dump(bloggers, b)