mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-03 19:17:02 -05:00 
			
		
		
		
	remove incorrect use of b'' string
There's no need to check on python2 that a string in os.environ is a bytestring, and it breaks hard on python3.
This commit is contained in:
		
							parent
							
								
									7640a27b13
								
							
						
					
					
						commit
						acd683b3ac
					
				@ -87,7 +87,7 @@ else:
 | 
			
		||||
        filesystem_encoding = 'utf-8'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
DEBUG = b'CALIBRE_DEBUG' in os.environ
 | 
			
		||||
DEBUG = 'CALIBRE_DEBUG' in os.environ
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def debug():
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user