Forgot to close the files.

This commit is contained in:
Jeremy Fincher 2004-08-04 12:39:24 +00:00
parent 68516b8fec
commit cb52197d1b
1 changed files with 2 additions and 0 deletions

View File

@ -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)