fixing bug in training queue

This commit is contained in:
robcaulk 2022-05-29 20:19:32 +02:00
parent 3f72263278
commit a79032bf75

View File

@ -190,7 +190,8 @@ class IFreqaiModel(ABC):
trained_timestamp,
coin_first) = self.data_drawer.get_pair_dict_info(metadata)
if not self.training_on_separate_thread:
if (not self.training_on_separate_thread and
self.data_drawer.pair_dict[metadata['pair']]['priority'] == 1):
file_exists = False
if trained_timestamp != 0: # historical model available