Skip to content

Commit

Permalink
refactor: drop pytz usage
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
  • Loading branch information
akhilnarang committed Dec 9, 2024
1 parent b9c43df commit ff14d86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crm/integrations/twilio/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ def update_call_status_info(**kwargs):

def get_datetime_from_timestamp(timestamp):
from datetime import datetime
from pytz import timezone

if not timestamp: return None

Expand Down Expand Up @@ -179,4 +178,4 @@ def find_record(doctype, mobile_no, where=''):
if not doc:
doc = find_record(doctype, number)

return doc, doctype
return doc, doctype

0 comments on commit ff14d86

Please sign in to comment.