From f32c6e9faab4e5efe97acd3a47cb0dc1b5679b63 Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Mon, 8 Jun 2020 14:56:43 +0200 Subject: [PATCH] Fix --- daemon/nopaqued.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/nopaqued.py b/daemon/nopaqued.py index c57c8bda..25be4ca5 100644 --- a/daemon/nopaqued.py +++ b/daemon/nopaqued.py @@ -10,7 +10,7 @@ import os def nopaqued(): - execute_notifications = os.environ.get('NOPAQUE_EXECUTE_NOTIFICATIONS') + execute_notifications = bool(os.environ.get('NOPAQUE_EXECUTE_NOTIFICATIONS')) # noqa # executing background functions while True: with ThreadPoolExecutor(max_workers=3) as executor: