Farid Karimli commited on
Commit ·
4255fe8
1
Parent(s): d6bff98
reformat
Browse files22 unmodified lines2324252627282922 unmodified lineslast_message_time = datetime.fromisoformat(last_message_time_str).replace(tzinfo=timezone.utc)except Exception as e: # this probably means the user has never sent a message beforereturn False, Nonecurrent_time = datetime.fromisoformat(current_time).replace(tzinfo=timezone.utc)22 unmodified lines23242526272829303122 unmodified lineslast_message_time = datetime.fromisoformat(last_message_time_str).replace(tzinfo=timezone.utc)except (Exception) as e: # this probably means the user has never sent a message beforereturn False, Nonecurrent_time = datetime.fromisoformat(current_time).replace(tzinfo=timezone.utc)
apps/ai_tutor/helpers.py+3-1