Merge pull request #7412 from initrv/fix-purge-old-models

Fixed a bug that prevents clearing old models
This commit is contained in:
Matthias 2022-09-14 07:10:57 +02:00 committed by GitHub
commit 8a236c3c4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ class FreqaiDataDrawer:
for dir in model_folders: for dir in model_folders:
result = pattern.match(str(dir.name)) result = pattern.match(str(dir.name))
if result is None: if result is None:
break continue
coin = result.group(1) coin = result.group(1)
timestamp = result.group(2) timestamp = result.group(2)