1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-26 16:41:29 +02:00

Removed isworker variable from old constants.

This commit is contained in:
2020-06-17 18:15:29 +02:00
parent 0e040b1e5e
commit cd93b85eb0
3 changed files with 3 additions and 14 deletions
-4
View File
@@ -36,10 +36,6 @@ if iswindows:
isxp = wver.major < 6
isoldvista = wver.build < 6002
is64bit = sys.maxsize > (1 << 32)
isworker = any([os.getenv('CALIBRE_WORKER') or
os.getenv('CALIBRE_SIMPLE_WORKER')])
if isworker:
os.environ.pop('CALIBRE_FORCE_ANSI', None)
FAKE_PROTOCOL, FAKE_HOST = 'clbr', 'internal.invalid'
VIEWER_APP_UID = 'com.calibre-ebook.viewer'
EDITOR_APP_UID = 'com.calibre-ebook.edit-book'