This commit is contained in:
Computerboer
2024-07-13 23:42:07 +02:00

View File

@@ -85,8 +85,8 @@ def getGeoLocationByCity(city = "", countrycode: Countrycode = Countrycode.NL ):
#print('alternatenames without ()'+ repr( geo)) #print('alternatenames without ()'+ repr( geo))
if (geo): return geo; if (geo): return geo;
log('city not found ' + city) #log('city not found ' + city)
return None; return None;
def inAlternatenames(alternatenames = [], name = ""): def inAlternatenames(alternatenames = [], name = ""):
return name in alternatenames return name in alternatenames