Explorar o código

fix interval_count condition

blezz-tech hai 3 meses
pai
achega
94ce682872
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      handlers/handlers/open_access_request_pending.py

+ 1 - 1
handlers/handlers/open_access_request_pending.py

@@ -61,7 +61,7 @@ def start_handler():
         else:
             for ticket in tickets:
                 ticket['interval_count'] -= 1
-                if ticket <= 0:
+                if ticket['interval_count'] <= 0:
                     processing_interval_unlimited(ticket)
                 else:
                     processing(ticket)