Fix append

This commit is contained in:
Robert Caulk 2022-09-19 12:47:20 +02:00 committed by GitHub
parent 995396c775
commit 9b66297cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -712,7 +712,7 @@ class IFreqaiModel(ABC):
key=lambda k: k[1]['trained_timestamp'])
for pair in pair_dict_sorted:
if pair[0] in current_pairlist:
best_queue.appendright(pair[0])
best_queue.append(pair[0])
for pair in current_pairlist:
if pair not in best_queue:
best_queue.appendleft(pair)