fix bug in follow_mode, thanks @blood4rc

This commit is contained in:
robcaulk 2022-06-18 12:05:28 +02:00
parent 6da7a98857
commit 3599d18ff6

View File

@ -273,7 +273,7 @@ class IFreqaiModel(ABC):
self.start_scanning(strategy) self.start_scanning(strategy)
elif self.follow_mode: elif self.follow_mode:
dh.set_paths(metadata, trained_timestamp) dh.set_paths(metadata['pair'], trained_timestamp)
logger.info('FreqAI instance set to follow_mode, finding existing pair' logger.info('FreqAI instance set to follow_mode, finding existing pair'
f'using { self.identifier }') f'using { self.identifier }')