mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Forgot to close the file object from urllib2.urlopen.
This commit is contained in:
parent
7911d0f0a3
commit
736d46cff3
@ -489,6 +489,7 @@ class Http(callbacks.Privmsg):
|
||||
stable = version.strip()
|
||||
elif 'latest beta' in name:
|
||||
beta = version.strip()
|
||||
fd.close()
|
||||
irc.reply(msg, 'The latest stable kernel is %s; ' \
|
||||
'the latest beta kernel is %s.' % (stable, beta))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user