fix if statement from always evaluating a string
This commit is contained in:
parent
6237767d5a
commit
44bf4f3c8f
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ from .constants import TXO_TYPES, CLAIM_TYPES
|
||||||
from .util import date_to_julian_day
|
from .util import date_to_julian_day
|
||||||
|
|
||||||
from concurrent.futures.thread import ThreadPoolExecutor # pylint: disable=wrong-import-order
|
from concurrent.futures.thread import ThreadPoolExecutor # pylint: disable=wrong-import-order
|
||||||
if platform.system() == 'Windows' or 'ANDROID_ARGUMENT' or 'KIVY_BUILD' in os.environ:
|
if platform.system() == 'Windows' or ({'ANDROID_ARGUMENT', 'KIVY_BUILD'} & os.environ.keys()):
|
||||||
from concurrent.futures.thread import ThreadPoolExecutor as ReaderExecutorClass # pylint: disable=reimported
|
from concurrent.futures.thread import ThreadPoolExecutor as ReaderExecutorClass # pylint: disable=reimported
|
||||||
else:
|
else:
|
||||||
from concurrent.futures.process import ProcessPoolExecutor as ReaderExecutorClass
|
from concurrent.futures.process import ProcessPoolExecutor as ReaderExecutorClass
|
||||||
|
|
Loading…
Reference in a new issue