Farid Karimli commited on
Commit ·
39406a1
1
Parent(s): 4255fe8
reformat 2
Browse files22 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)22 unmodified lines2324252627282922 unmodified lineslast_message_time = datetime.fromisoformat(last_message_time_str).replace(tzinfo=timezone.utc)except Exception: # 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+1-3