From d85d56d670221d1a31c89cb3dbd9f63134fdc074 Mon Sep 17 00:00:00 2001 From: Computerboer Date: Sat, 13 Jul 2024 23:46:39 +0200 Subject: [PATCH] Added correct spacing in logging, readded logging in locationutils --- utils/helperutils.py | 2 +- utils/locationutils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/helperutils.py b/utils/helperutils.py index 55a1711..e3c267f 100644 --- a/utils/helperutils.py +++ b/utils/helperutils.py @@ -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: diff --git a/utils/locationutils.py b/utils/locationutils.py index e001321..971ad52 100644 --- a/utils/locationutils.py +++ b/utils/locationutils.py @@ -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 = ""):