From 9e0fbca339fe01f053b2de5a63929d9433c6f151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Mon, 21 Jun 2021 17:56:16 +0200 Subject: [PATCH] Adding early stage unlinks... --- client-py3/full/src/uds/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-py3/full/src/uds/tools.py b/client-py3/full/src/uds/tools.py index 3fd128b6..879a1fe9 100644 --- a/client-py3/full/src/uds/tools.py +++ b/client-py3/full/src/uds/tools.py @@ -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: