forked from LBRYCommunity/lbry-sdk
check KIVY_BUILD env variable
This commit is contained in:
parent
318cc15323
commit
310c61a5cc
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ def run_read_only_fetchone(sql, params):
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
|
||||||
if platform.system() == 'Windows' or 'ANDROID_ARGUMENT' in os.environ:
|
if platform.system() == 'Windows' or 'ANDROID_ARGUMENT' or 'KIVY_BUILD' in os.environ:
|
||||||
ReaderExecutorClass = ThreadPoolExecutor
|
ReaderExecutorClass = ThreadPoolExecutor
|
||||||
else:
|
else:
|
||||||
ReaderExecutorClass = ProcessPoolExecutor
|
ReaderExecutorClass = ProcessPoolExecutor
|
||||||
|
|
Loading…
Add table
Reference in a new issue