Skip to content

Commit

Permalink
remove .timestamp() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr223 committed Nov 7, 2023
1 parent ac51423 commit 598adbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions A2rchi/interfaces/chat_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def __call__(self, message: List[str], conversation_id: int, is_refresh: bool, s
a2rchi_message = ("A2rchi", output, timestamps['a2rchi_message_ts'])

message_ids = self.insert_conversation(conversation_id, user_message, a2rchi_message, is_refresh)
timestamps['insert_convo_ts'] = datetime.now().timestamp()
timestamps['insert_convo_ts'] = datetime.now()

except Exception as e:
print(f"ERROR - {str(e)}")
Expand All @@ -363,7 +363,7 @@ def __call__(self, message: List[str], conversation_id: int, is_refresh: bool, s
if self.conn is not None:
self.conn.close()

timestamps['finish_call_ts'] = datetime.now().timestamp()
timestamps['finish_call_ts'] = datetime.now()

return output, conversation_id, message_ids, timestamps, False

Expand Down

0 comments on commit 598adbe

Please sign in to comment.