This commit is contained in:
Kovid Goyal 2011-09-16 17:24:28 -06:00
parent 86ee7264fd
commit 1d40f8202b

View File

@ -33,7 +33,7 @@ islinux = not(iswindows or isosx or isbsd)
isfrozen = hasattr(sys, 'frozen')
isunix = isosx or islinux
isportable = os.environ.get('CALIBRE_PORTABLE_BUILD', None) is not None
ispy3 = sys.version_info[0] > 2
ispy3 = sys.version_info.major > 2
try:
preferred_encoding = locale.getpreferredencoding()