forked from AFPy/afpy.org
Fix line too long in afpy.py
This commit is contained in:
parent
9edfb06db4
commit
2be1fe26dc
3
afpy.py
3
afpy.py
|
@ -328,7 +328,8 @@ def get_posts_stats():
|
||||||
for category in POSTS:
|
for category in POSTS:
|
||||||
stats[category] = {}
|
stats[category] = {}
|
||||||
for status in ('waiting', 'published'):
|
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
|
return stats
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user