瀏覽代碼

fix interval_count condition

blezz-tech 1 月之前
父節點
當前提交
94ce682872
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)