persistence.init does not need the config dict

This commit is contained in:
Matthias
2019-05-29 19:54:47 +02:00
parent 6451feee0e
commit d7bebc4385
4 changed files with 16 additions and 17 deletions

View File

@@ -73,7 +73,7 @@ class FreqtradeBot(object):
self.active_pair_whitelist: List[str] = self.config['exchange']['pair_whitelist']
persistence.init(self.config)
persistence.init(self.config.get('db_url', None), self.config.get('dry_run', False))
# Set initial bot state from config
initial_state = self.config.get('initial_state')