Merge pull request #8499 from bkamuz/develop

Telegram. Fixed the blacklist removal message
This commit is contained in:
Matthias
2023-04-19 08:59:38 +02:00
committed by GitHub

View File

@@ -1418,7 +1418,7 @@ class Telegram(RPCHandler):
def send_blacklist_msg(self, blacklist: Dict): def send_blacklist_msg(self, blacklist: Dict):
errmsgs = [] errmsgs = []
for pair, error in blacklist['errors'].items(): for pair, error in blacklist['errors'].items():
errmsgs.append(f"Error adding `{pair}` to blacklist: `{error['error_msg']}`") errmsgs.append(f"Error: {error['error_msg']}")
if errmsgs: if errmsgs:
self._send_msg('\n'.join(errmsgs)) self._send_msg('\n'.join(errmsgs))