Browse Source

fix interval_count condition

blezz-tech 1 tháng trước cách đây
mục cha
commit
94ce682872
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)