Added correct spacing in logging, readded logging in locationutils
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
def log(value):
|
||||
print(str(datetime.now()) + ' ' + value)
|
||||
print(str(datetime.now()) + ' ' + value)
|
||||
# try:
|
||||
# print(str(datetime.now()) + ' ' + value.encode("utf-8"))
|
||||
# except:
|
||||
|
||||
@@ -85,7 +85,7 @@ def getGeoLocationByCity(city = "", countrycode: Countrycode = Countrycode.NL ):
|
||||
#print('alternatenames without ()'+ repr( geo))
|
||||
if (geo): return geo;
|
||||
|
||||
#log('city not found ' + city)
|
||||
log('city not found ' + city)
|
||||
return None;
|
||||
|
||||
def inAlternatenames(alternatenames = [], name = ""):
|
||||
|
||||
Reference in New Issue
Block a user