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
|
||||
|
||||
|
||||
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
|
||||
else:
|
||||
ReaderExecutorClass = ProcessPoolExecutor
|
||||
|
|
Loading…
Reference in a new issue