Improve formatting of protection startup message
This commit is contained in:
parent
64d6c7bb65
commit
3426e99b8b
@ -91,7 +91,8 @@ class RPCManager:
|
|||||||
f'based on {pairlist.short_desc()}'
|
f'based on {pairlist.short_desc()}'
|
||||||
})
|
})
|
||||||
if len(protections.name_list) > 0:
|
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({
|
self.send_msg({
|
||||||
'type': RPCMessageType.STARTUP_NOTIFICATION,
|
'type': RPCMessageType.STARTUP_NOTIFICATION,
|
||||||
'status': f'Using Protections {protections.short_desc()}'
|
'status': f'Using Protections: \n{prots}'
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user