mirror of
				https://github.com/liberatedsystems/Sideband_CE.git
				synced 2024-09-03 04:13:27 +02: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
 | 
			
		||||
 | 
			
		||||
if "MAPVIEW_DEBUG_DOWNLOADER" in environ:
 | 
			
		||||
    Logger.setLevel(LOG_LEVELS['debug'])
 | 
			
		||||
# if "MAPVIEW_DEBUG_DOWNLOADER" in environ:
 | 
			
		||||
#     Logger.setLevel(LOG_LEVELS['debug'])
 | 
			
		||||
 | 
			
		||||
# 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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user