Remove .get calls for dry_run - it's a mandatory property

This commit is contained in:
Matthias
2020-01-20 20:24:40 +01:00
parent 2f82122fc4
commit 1bf475fa1a
4 changed files with 7 additions and 8 deletions

View File

@@ -62,7 +62,7 @@ class RPCManager:
logger.error(f"Message type {msg['type']} not implemented by handler {mod.name}.")
def startup_messages(self, config, pairlist) -> None:
if config.get('dry_run', False):
if config['dry_run']:
self.send_msg({
'type': RPCMessageType.WARNING_NOTIFICATION,
'status': 'Dry run is enabled. All trades are simulated.'