mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 13:42:36 +01:00
Forgot to close the files.
This commit is contained in:
parent
68516b8fec
commit
cb52197d1b
@ -90,6 +90,8 @@ class Tail(privmsgs.CapabilityCheckingPrivmsg):
|
||||
|
||||
def die(self):
|
||||
schedule.removeEvent(self.name())
|
||||
for fd in self.files.values():
|
||||
fd.close()
|
||||
|
||||
def __call__(self, irc, msg):
|
||||
irc = callbacks.SimpleProxy(irc, msg)
|
||||
|
Loading…
Reference in New Issue
Block a user