Improve formatting of protection startup message

This commit is contained in:
Matthias 2020-12-07 11:37:57 +01:00
parent 64d6c7bb65
commit 3426e99b8b

View File

@ -91,7 +91,8 @@ class RPCManager:
f'based on {pairlist.short_desc()}'
})
if len(protections.name_list) > 0:
prots = '\n'.join([p for prot in protections.short_desc() for k, p in prot.items()])
self.send_msg({
'type': RPCMessageType.STARTUP_NOTIFICATION,
'status': f'Using Protections {protections.short_desc()}'
'status': f'Using Protections: \n{prots}'
})