Adjusted logging

This commit is contained in:
Mark Qvist 2023-10-20 02:36:31 +02:00
parent 3a06e74e4c
commit 3ea7a9bbe4

View File

@ -16,8 +16,8 @@ from kivy.logger import LOG_LEVELS, Logger
from mapview.constants import CACHE_DIR from mapview.constants import CACHE_DIR
if "MAPVIEW_DEBUG_DOWNLOADER" in environ: # if "MAPVIEW_DEBUG_DOWNLOADER" in environ:
Logger.setLevel(LOG_LEVELS['debug']) # Logger.setLevel(LOG_LEVELS['debug'])
# user agent is needed because since may 2019 OSM gives me a 429 or 403 server error # user agent is needed because since may 2019 OSM gives me a 429 or 403 server error
# I tried it with a simpler one (just Mozilla/5.0) this also gets rejected # I tried it with a simpler one (just Mozilla/5.0) this also gets rejected