VyLala commited on
Commit
45442c6
·
verified ·
1 Parent(s): 5d64337

Update standardize_location.py

Browse files
Files changed (1) hide show
  1. standardize_location.py +1 -1
standardize_location.py CHANGED
@@ -85,7 +85,7 @@ def smart_country_lookup(user_input):
85
  return "Not found"
86
  except:
87
  country = model.get_country_from_text(user_input)
88
- if country !="unknown":
89
  return country
90
  else:
91
  return "Not found"
 
85
  return "Not found"
86
  except:
87
  country = model.get_country_from_text(user_input)
88
+ if country.lower() !="unknown":
89
  return country
90
  else:
91
  return "Not found"