Update database_caller.py

database caller fix
This commit is contained in:
Neythen Treloar 2022-02-15 20:06:44 +00:00 committed by GitHub
parent cce74d8a92
commit 4b6fa1e95c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -232,7 +232,7 @@ def updateNews(api_key):
except Exception as e:
print(response)
exc_type, exc_obj, exc_tb = sys.exc_info()
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
logf.write(str(e))