Skip to content

Commit 08fe6a0

Browse files
committed
Delete unverified models
1 parent 212e19c commit 08fe6a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RawRefinery/application/ModelHandler.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,10 @@ def _verify_model(self, dest_path, sig_path):
348348
return True
349349
except Exception as e:
350350
print(e)
351-
# if dest_path.exists():
352-
# dest_path.unlink()
353-
# if sig_path.exists():
354-
# sig_path.unlink()
351+
if dest_path.exists():
352+
dest_path.unlink()
353+
if sig_path.exists():
354+
sig_path.unlink()
355355
print(f"Model {dest_path} not verified! Deleting.")
356356
return False
357357

0 commit comments

Comments
 (0)