Adding early stage unlinks...

This commit is contained in:
Adolfo Gómez García 2021-06-21 17:56:16 +02:00
parent 3e67ef2f6b
commit 9e0fbca339

View File

@ -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: