zhangliang 2 weeks ago
parent
commit
345477cf5c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cookie_generator.py

+ 2 - 2
cookie_generator.py

@@ -94,8 +94,8 @@ class CookieGenerator:
         current_count = self.get_cookie_manager(cookie_key).get_cookie_count()
 
         if current_count >= target_count:
-            logger.info(f"✅ {cookie_key} 数量充足: {current_count}/{target_count}")
-            return 0, current_count
+            logger.info(f"✅ {cookie_key} 数量充足: {current_count}/{target_count},生成 1 个Cookie")
+
 
         need_count = target_count - current_count
         generate_count = min(need_count, batch_size)