Merge pull request #7412 from initrv/fix-purge-old-models
Fixed a bug that prevents clearing old models
This commit is contained in:
commit
8a236c3c4f
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user