Skip to content

Commit

Permalink
fix function error
Browse files Browse the repository at this point in the history
  • Loading branch information
calellowitz committed Dec 19, 2024
1 parent 0231864 commit 596eba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corehq/apps/sms/handlers/fallback.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

def fallback_handler(verified_number, text, msg):
domain_obj = Domain.get_by_name(verified_number.domain, strict=True)
if verified_number isinstance(ConnectMessagingNumber):
if isinstance(verified_number, ConnectMessagingNumber):

Check failure on line 12 in corehq/apps/sms/handlers/fallback.py

View workflow job for this annotation

GitHub Actions / Flake8

corehq/apps/sms/handlers/fallback.py#L12

Undefined name 'ConnectMessagingNumber' (F821)
content_type = MessagingEvent.CONTENT_CONNECT
else:
content_type = MessagingEvent.CONTENT_SMS
Expand Down

0 comments on commit 596eba4

Please sign in to comment.