mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 23:00:36 +01:00
Adjusted logging
This commit is contained in:
parent
3a06e74e4c
commit
3ea7a9bbe4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user