diff --git a/events.py b/events.py index 25756c3..0e9f653 100644 --- a/events.py +++ b/events.py @@ -59,6 +59,6 @@ def new_post(data): post = bleach.clean(post.strip()) post = post.replace("\n", "
") data["post"] = [post] - db.insert_quest_post(int(room), post, int(time.time())) + db.insert_quest_post(room, post, int(time.time())) emit("new_post", data, room=room) diff --git a/templates/base.html b/templates/base.html index e0199f3..b67b71c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,25 +5,29 @@ {% block head %}{% endblock %} -