define _rpc_reload_conf as private method

This commit is contained in:
gcarq
2018-06-13 15:29:27 +02:00
parent e14c9e2090
commit 46080f5168
3 changed files with 5 additions and 5 deletions

View File

@@ -289,8 +289,8 @@ class Telegram(RPC):
:param update: message update
:return: None
"""
msg = self.rpc_reload_conf()
self.send_msg(msg, bot=bot)
msg = self._rpc_reload_conf()
self._send_msg(msg, bot=bot)
@authorized_only
def _forcesell(self, bot: Bot, update: Update) -> None: