mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 16:33:43 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ def get_osx_version():
|
|||
filesystem_encoding = 'utf-8'
|
||||
|
||||
|
||||
DEBUG = b'CALIBRE_DEBUG' in os.environ
|
||||
DEBUG = 'CALIBRE_DEBUG' in os.environ
|
||||
|
||||
|
||||
def debug():
|
||||
|
|
|
|||
Loading…
Reference in a new issue