This commit is contained in:
Stephan Porada 2020-06-08 14:56:43 +02:00
parent 66cee12dcb
commit f32c6e9faa

View File

@ -10,7 +10,7 @@ import os
def nopaqued(): def nopaqued():
execute_notifications = os.environ.get('NOPAQUE_EXECUTE_NOTIFICATIONS') execute_notifications = bool(os.environ.get('NOPAQUE_EXECUTE_NOTIFICATIONS')) # noqa
# executing background functions # executing background functions
while True: while True:
with ThreadPoolExecutor(max_workers=3) as executor: with ThreadPoolExecutor(max_workers=3) as executor: