Fixed a bug that prevents clearing old models

Corrects the error of clearing old models when the model directory contains directories with names that do not match a regular expression
This commit is contained in:
initrv 2022-09-14 03:40:13 +03:00
parent 7b6e465d57
commit 37dd22c89e
1 changed files with 1 additions and 1 deletions

View File

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