Fix line too long in afpy.py

This commit is contained in:
Emmanuel Leblond 2018-06-05 20:19:25 +02:00
parent 9edfb06db4
commit 2be1fe26dc
No known key found for this signature in database
GPG Key ID: C360860E645EFFC0

View File

@ -328,7 +328,8 @@ def get_posts_stats():
for category in POSTS:
stats[category] = {}
for status in ('waiting', 'published'):
stats[category][status] = len(list((root / category / status).iterdir()))
stats[category][status] = len(list(
(root / category / status).iterdir()))
return stats