fix: remove type annotations
This commit is contained in:
parent
f7111e20be
commit
2c5bc5abcf
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
# util __init__.py
|
||||
|
||||
from __future__ import unicode_literals, print_function, annotations
|
||||
from __future__ import unicode_literals, print_function
|
||||
from werkzeug.test import Client
|
||||
import os, re, sys, json, hashlib, requests, traceback
|
||||
from .html_utils import sanitize_html
|
||||
|
|
@ -75,7 +75,7 @@ def extract_email_id(email):
|
|||
email_id = email_id.decode("utf-8", "ignore")
|
||||
return email_id
|
||||
|
||||
def validate_phone_number(phone_number: str, throw: bool = False):
|
||||
def validate_phone_number(phone_number, throw=False):
|
||||
"""Returns True if valid phone number"""
|
||||
if not phone_number:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue