This commit is contained in:
parent
a807114c58
commit
feec65123a
2
app.py
2
app.py
@ -59,7 +59,7 @@ def page_posts_from_db(target_post_id=None):
|
||||
postos = sorted(postos, key=lambda posto: posto['_key'], reverse=False)
|
||||
|
||||
if not target_post_id:
|
||||
target_post_id = postos[0]._key
|
||||
target_post_id = postos[0]['_key']
|
||||
|
||||
return render_template("interactive-posts.html", host_id=docker_short_id, postos=postos, target_post_id=target_post_id)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user