Skip to content
Permalink
Browse files

flake8

  • Loading branch information
da2x committed May 8, 2015
1 parent 4ad118f commit 823cc0fac41287bda14b553426cd3ebee41a3990
Showing with 2 additions and 2 deletions.
  1. +2 −2 v7/recent_posts_json/recent_posts_json.py
@@ -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:

0 comments on commit 823cc0f

Please sign in to comment.