mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-25 19:44:13 +01:00
Elucidating log.
This commit is contained in:
parent
d18250fb93
commit
58176d41a9
@ -120,6 +120,8 @@ class Schedule(drivers.IrcDriver):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if len(drivers._drivers) == 1:
|
if len(drivers._drivers) == 1:
|
||||||
|
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.
|
time.sleep(1) # We're the only driver; let's pause to think.
|
||||||
while self.schedule and self.schedule[0][0] < time.time():
|
while self.schedule and self.schedule[0][0] < time.time():
|
||||||
(t, name) = heapq.heappop(self.schedule)
|
(t, name) = heapq.heappop(self.schedule)
|
||||||
|
Loading…
Reference in New Issue
Block a user