Skip to content

Commit 598adbe

Browse files
committed
remove .timestamp() calls
1 parent ac51423 commit 598adbe

File tree

1 file changed

+2
-2
lines changed
  • A2rchi/interfaces/chat_app

1 file changed

+2
-2
lines changed

A2rchi/interfaces/chat_app/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def __call__(self, message: List[str], conversation_id: int, is_refresh: bool, s
352352
a2rchi_message = ("A2rchi", output, timestamps['a2rchi_message_ts'])
353353

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

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

366-
timestamps['finish_call_ts'] = datetime.now().timestamp()
366+
timestamps['finish_call_ts'] = datetime.now()
367367

368368
return output, conversation_id, message_ids, timestamps, False
369369

0 commit comments

Comments
 (0)