mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Prettify the display of current value in Config.help
This commit is contained in:
parent
ae8af84e6f
commit
b59eba8c58
@ -244,7 +244,7 @@ class Config(callbacks.Privmsg):
|
||||
if hasattr(wrapper, 'help'):
|
||||
s = wrapper.help
|
||||
if not wrapper._private:
|
||||
s += ' (Current value: %s)' % wrapper()
|
||||
s += ' (Current value: %s)' % wrapper
|
||||
irc.reply(s)
|
||||
else:
|
||||
irc.error('%s has no help.' % name)
|
||||
|
Loading…
Reference in New Issue
Block a user