Improve formatting of protection startup message
This commit is contained in:
@@ -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}'
|
||||
})
|
||||
|
Reference in New Issue
Block a user