X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/2c61e383ade53f4af779f2398dd8e71d00b70b8c..09d63526342644263f5423ca7a5db8d6d84153cc:/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)