X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/2c61e383ade53f4af779f2398dd8e71d00b70b8c..0183eb9419ca8fe44d254c91dba2d5b7a8d621f1:/weekly-update.py?ds=sidebyside 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)