Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
flake8
  • Loading branch information
da2x committed May 8, 2015
1 parent 4ad118f commit 823cc0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v7/recent_posts_json/recent_posts_json.py
Expand Up @@ -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()})
recent_posts.append(entry)
data = json.dumps(recent_posts, indent=2)
with io.open(output_path, "w+", encoding="utf8") as outf:
Expand Down

0 comments on commit 823cc0f

Please sign in to comment.