diff --git a/daemon/nopaqued.py b/daemon/nopaqued.py
index c57c8bda24a3bb07108f21b56ef52b7f71522096..25be4ca5de8f1a7a23557a92570b75a4d77d9421 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: