소스 검색

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)