mirror of
https://github.com/markqvist/Sideband.git
synced 2025-08-24 14:15:29 -04:00
Adjusted logging
This commit is contained in:
parent
3a06e74e4c
commit
3ea7a9bbe4
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue