fix(spiders): corrections and removal of dead code

This commit is contained in:
Karim shoair
2026-02-15 04:25:32 +02:00
parent b8b9a7f864
commit 02b11c535e
4 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class CheckpointManager:
if not isinstance(interval, (int, float)):
raise TypeError("Checkpoints interval must be integer or float.")
else:
if interval < 0:
if interval <= 0:
raise ValueError("Checkpoints interval must be greater than 0.")
async def has_checkpoint(self) -> bool: