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: