mirror of https://github.com/Mikaela/Limnoria.git
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):
|
def die(self):
|
||||||
schedule.removeEvent(self.name())
|
schedule.removeEvent(self.name())
|
||||||
|
for fd in self.files.values():
|
||||||
|
fd.close()
|
||||||
|
|
||||||
def __call__(self, irc, msg):
|
def __call__(self, irc, msg):
|
||||||
irc = callbacks.SimpleProxy(irc, msg)
|
irc = callbacks.SimpleProxy(irc, msg)
|
||||||
|
|
Loading…
Reference in New Issue