From d0c14b7db0490e600e4ecaf28e7bb56a3c4847da Mon Sep 17 00:00:00 2001 From: 4NOM4LY <73748440+schevthi@users.noreply.github.com> Date: Thu, 10 Aug 2023 15:10:29 +0200 Subject: [PATCH] Update server.py Added brackets to call of arrow.now().timestamp --- Chapter09/Ch9/server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter09/Ch9/server/server.py b/Chapter09/Ch9/server/server.py index 932449e..4926c44 100644 --- a/Chapter09/Ch9/server/server.py +++ b/Chapter09/Ch9/server/server.py @@ -100,7 +100,7 @@ def send_message(username): data = request.form author = data["author"] message = data["message"] - date_sent = arrow.now().timestamp + date_sent = arrow.now().timestamp() conversation_db_path = get_conversation_db_path_for_users({"user_one": author, "user_two": username}) conversation = Conversation(conversation_db_path)