build_a_blog: bench, main errors
This commit is contained in:
parent
d2b810441d
commit
b44ec21007
3 changed files with 20 additions and 12 deletions
2
main.py
2
main.py
|
@ -59,7 +59,7 @@ def render_posts():
|
|||
with Pool(processes=cpu_count) as pool:
|
||||
posts = pool.map(render_post, files)
|
||||
|
||||
logging.info("render_posts result: %s", res)
|
||||
logging.info("render_posts result: %s", posts)
|
||||
return posts
|
||||
|
||||
def posts_list_html(posts):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue