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
commit 9851d67f07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1418,7 +1418,7 @@ class Telegram(RPCHandler):
def send_blacklist_msg(self, blacklist: Dict):
errmsgs = []
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:
self._send_msg('\n'.join(errmsgs))