forked from shaba/openuds
Adding early stage unlinks...
This commit is contained in:
parent
3e67ef2f6b
commit
9e0fbca339
@ -147,7 +147,7 @@ def unlinkFiles(early: bool = False) -> None:
|
||||
# Wait 2 seconds before deleting anything on early and 5 on later stages
|
||||
time.sleep(1 + 2 * (1 + int(early)))
|
||||
|
||||
for f in _unlinkFiles:
|
||||
for f in filesToUnlink:
|
||||
try:
|
||||
os.unlink(f[0])
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user