Skip to content

Commit bc42621

Browse files
committed
BugFix: set maintenance event immediately on start.
1 parent a5b0014 commit bc42621

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coc/events.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ def __init__(self, **options):
374374
self._setup()
375375

376376
self._in_maintenance_event = asyncio.Event()
377+
self._in_maintenance_event.set() # only block when maintenance is on
378+
377379
self._keys_ready = asyncio.Event()
378380

379381
self.clan_retry_interval = 0

0 commit comments

Comments
 (0)