mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-04 08:59:23 +01:00
plugins/Gameknot.py: Add replyPossibleBug string to 'page format' error
src/conf.py: Fix a typo in replyPossibleBug string
This commit is contained in:
parent
d370c485f6
commit
6e911131fd
@ -148,7 +148,8 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp):
|
||||
if ('User %s not found!' % name) in profile:
|
||||
raise callbacks.Error, 'No user %s exists.' % name
|
||||
else:
|
||||
raise callbacks.Error, 'The format of the page was odd.'
|
||||
raise callbacks.Error, 'The format of the page was odd. %s' %\
|
||||
conf.replyPossibleBug
|
||||
except urllib2.URLError:
|
||||
raise callbacks.Error, 'Couldn\'t connect to gameknot.com'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user