Skip to content

Commit

Permalink
are you kidding..., str.format compatible for py2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
leVirve committed Jul 26, 2016
1 parent ba0d236 commit 0593b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcard/posts.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def format(self, bundle, callback):
})
posts.append(post)
results.append(callback(posts) if callback else posts)
logger.info('[PostResult reducer] {} posts processed.'.format(len(posts)))
logger.info('[PostResult reducer] {0} posts processed.'.format(len(posts)))

if len(results) and isinstance(results[0], list):
results = client.flatten_result_lists(results)
Expand Down

0 comments on commit 0593b28

Please sign in to comment.