清除签到状态(签到完成时调用)
()
| 63 | |
| 64 | @staticmethod |
| 65 | def clear_state(): |
| 66 | """清除签到状态(签到完成时调用)""" |
| 67 | if STATE_FILE.exists(): |
| 68 | try: |
| 69 | STATE_FILE.unlink() |
| 70 | logger.info("[库洛签到·签到状态] 删除状态文件(签到已完成)") |
| 71 | except Exception as e: |
| 72 | logger.error(f"[库洛签到·签到状态] 删除状态文件失败: {e}") |
| 73 | |
| 74 | @staticmethod |
| 75 | def should_resume() -> bool: |
no outgoing calls
no test coverage detected