diff --git a/product/CMFActivity/ActivityTool.py b/product/CMFActivity/ActivityTool.py
index 164a1a58b80dd507008e474b00a184ada6d3719e..e80cd8c1db8e52dfce95329aa025a63f9f1e6a8f 100644
--- a/product/CMFActivity/ActivityTool.py
+++ b/product/CMFActivity/ActivityTool.py
@@ -71,7 +71,7 @@ max_active_threads = 1 # 2 will cause more bug to appear (he he)
 is_initialized = False
 tic_lock = threading.Lock() # A RAM based lock to prevent too many concurrent tic() calls
 timerservice_lock = threading.Lock() # A RAM based lock to prevent TimerService spamming when busy
-first_run = 1
+first_run = True
 currentNode = None
 ROLE_IDLE = 0
 ROLE_PROCESSING = 1
@@ -641,7 +641,7 @@ class ActivityTool (Folder, UniqueObject):
                                 processing_node=processing_node)
         inner_self.SQLQueue_clearProcessingFlag(
                                 processing_node=processing_node)
-        first_run = 0
+        first_run = False
 
       try:
         # Wakeup each queue