You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
line 48:
@staticmethod
def _validate(iata):
if not isinstance(iata, str):
raise ValueError("iata must be a string, it is a {0}".format(type(iata)))
...
How it is:
line 48:
@staticmethod
def _validate(iata):
if not isinstance(iata, (str, unicode)):
raise ValueError("iata must be a string, it is a {0}".format(type(iata)))
...
The text was updated successfully, but these errors were encountered:
Remove unicode variable in pyairports.py:
How it must to be:
How it is:
The text was updated successfully, but these errors were encountered: