From 2451ed8c88eb079b9293af9b802caabd8167610d Mon Sep 17 00:00:00 2001 From: Robert Caulk Date: Mon, 6 Jun 2022 15:11:54 -0600 Subject: [PATCH] Quick bug fix --- freqtrade/freqai/data_drawer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqai/data_drawer.py b/freqtrade/freqai/data_drawer.py index 4e52ac711..740998caf 100644 --- a/freqtrade/freqai/data_drawer.py +++ b/freqtrade/freqai/data_drawer.py @@ -266,7 +266,7 @@ class FreqaiDataDrawer: def update_follower_metadata(self): # follower needs to load from disk to get any changes made by leader to pair_dict self.load_drawer_from_disk() - if self.config.get('freqai', {})('purge_old_models', False): + if self.config.get('freqai', {}).get('purge_old_models', False): self.purge_old_models() # to be used if we want to send predictions directly to the follower instead of forcing