mirror of
https://github.com/progval/Limnoria.git
synced 2025-05-02 08:21:08 -05: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'):
|
if hasattr(wrapper, 'help'):
|
||||||
s = wrapper.help
|
s = wrapper.help
|
||||||
if not wrapper._private:
|
if not wrapper._private:
|
||||||
s += ' (Current value: %s)' % wrapper()
|
s += ' (Current value: %s)' % wrapper
|
||||||
irc.reply(s)
|
irc.reply(s)
|
||||||
else:
|
else:
|
||||||
irc.error('%s has no help.' % name)
|
irc.error('%s has no help.' % name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user