mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04: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'
|
filesystem_encoding = 'utf-8'
|
||||||
|
|
||||||
|
|
||||||
DEBUG = b'CALIBRE_DEBUG' in os.environ
|
DEBUG = 'CALIBRE_DEBUG' in os.environ
|
||||||
|
|
||||||
|
|
||||||
def debug():
|
def debug():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user