mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fixed bugz0rs in the new version.
This commit is contained in:
parent
169a69255a
commit
0982ee2638
@ -49,6 +49,7 @@ import irclib
|
||||
import ircmsgs
|
||||
import ircutils
|
||||
import privmsgs
|
||||
import webutils
|
||||
import callbacks
|
||||
|
||||
class Misc(callbacks.Privmsg):
|
||||
@ -207,7 +208,7 @@ class Misc(callbacks.Privmsg):
|
||||
"""
|
||||
try:
|
||||
newest = webutils.getUrl('http://supybot.sf.net/version.txt')
|
||||
newest = 'The newest version available online is %s.' % version
|
||||
newest ='The newest version available online is %s.'%newest.strip()
|
||||
except webutils.WebError, e:
|
||||
self.log.warning('Couldn\'t get website version: %r', e)
|
||||
newest = 'I could\'t fetch the newest version ' \
|
||||
|
Loading…
Reference in New Issue
Block a user