reload_conf & reload_config now both accepted, code is more consistent now

This commit is contained in:
Theagainmen 2020-06-10 16:34:46 +02:00 committed by Matthias
parent 04fa597695
commit 043397c5d7

View File

@ -96,7 +96,7 @@ class Telegram(RPC):
CommandHandler('daily', self._daily), CommandHandler('daily', self._daily),
CommandHandler('count', self._count), CommandHandler('count', self._count),
#CommandHandler('reload_conf', self._reload_config), #CommandHandler('reload_conf', self._reload_config),
CommandHandler(('reload_config' or 'reload_con'), self._reload_config), CommandHandler(('reload_config' or 'reload_conf'), self._reload_config),
#CommandHandler('show_conf', self._reload_config), #CommandHandler('show_conf', self._reload_config),
CommandHandler('show_config' or 'show_conf', self._show_config), CommandHandler('show_config' or 'show_conf', self._show_config),
CommandHandler('stopbuy', self._stopbuy), CommandHandler('stopbuy', self._stopbuy),