mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Don't make those error logs if we're testing.
This commit is contained in:
parent
0a2d7146a4
commit
887e92a12b
@ -119,7 +119,7 @@ class Schedule(drivers.IrcDriver):
|
||||
removePeriodicEvent = removeEvent
|
||||
|
||||
def run(self):
|
||||
if len(drivers._drivers) == 1:
|
||||
if len(drivers._drivers) == 1 and not world.testing:
|
||||
log.error('Schedule is the only remaining driver, '
|
||||
'why do we continue to live?')
|
||||
time.sleep(1) # We're the only driver; let's pause to think.
|
||||
|
Loading…
Reference in New Issue
Block a user