From ff14d86bf67632363dcd6a4c62ed7f45493fc3c4 Mon Sep 17 00:00:00 2001 From: Akhil Narang Date: Mon, 9 Dec 2024 11:50:01 +0530 Subject: [PATCH] refactor: drop pytz usage Signed-off-by: Akhil Narang --- crm/integrations/twilio/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crm/integrations/twilio/api.py b/crm/integrations/twilio/api.py index 1ea4d67dc..b23e0e060 100644 --- a/crm/integrations/twilio/api.py +++ b/crm/integrations/twilio/api.py @@ -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 @@ -179,4 +178,4 @@ def find_record(doctype, mobile_no, where=''): if not doc: doc = find_record(doctype, number) - return doc, doctype \ No newline at end of file + return doc, doctype