check many hexes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-07-19 00:01:15 +10:00
parent a807114c58
commit feec65123a

2
app.py
View File

@ -59,7 +59,7 @@ def page_posts_from_db(target_post_id=None):
postos = sorted(postos, key=lambda posto: posto['_key'], reverse=False) postos = sorted(postos, key=lambda posto: posto['_key'], reverse=False)
if not target_post_id: 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) return render_template("interactive-posts.html", host_id=docker_short_id, postos=postos, target_post_id=target_post_id)