Skip to content
Browse files
  • Loading branch information
da2x committed May 8, 2015
1 parent 4ad118f commit 823cc0fac41287bda14b553426cd3ebee41a3990
Showing 1 changed file with 2 additions and 2 deletions.
@@ -98,9 +98,9 @@ def make_json(self, posts, descriptions, previewimage, output_path):
"title": title,
"loc": link}
if descriptions:
entry.update({["desc"]: post.description() })
entry.update({["desc"]: post.description()})
if previewimage:
entry.update({["img"]: post.previewimage() })
entry.update({["img"]: post.previewimage()})
data = json.dumps(recent_posts, indent=2)
with, "w+", encoding="utf8") as outf:

0 comments on commit 823cc0f

Please sign in to comment.