main commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-16 16:30:25 +09:00
parent 91c7e04474
commit 537e7b363f
1146 changed files with 45926 additions and 77196 deletions

View File

@@ -1,7 +1,6 @@
"""The periodic task scheduler."""
import copy
import dbm
import errno
import heapq
import os
@@ -569,11 +568,11 @@ class PersistentScheduler(Scheduler):
for _ in (1, 2):
try:
self._store['entries']
except (KeyError, UnicodeDecodeError, TypeError):
except KeyError:
# new schedule db
try:
self._store['entries'] = {}
except (KeyError, UnicodeDecodeError, TypeError) + dbm.error as exc:
except KeyError as exc:
self._store = self._destroy_open_corrupted_schedule(exc)
continue
else: