mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +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()
|
stable = version.strip()
|
||||||
elif 'latest beta' in name:
|
elif 'latest beta' in name:
|
||||||
beta = version.strip()
|
beta = version.strip()
|
||||||
|
fd.close()
|
||||||
irc.reply(msg, 'The latest stable kernel is %s; ' \
|
irc.reply(msg, 'The latest stable kernel is %s; ' \
|
||||||
'the latest beta kernel is %s.' % (stable, beta))
|
'the latest beta kernel is %s.' % (stable, beta))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user