From f5e0352040f17833ac1e345d899ebadae85042ec Mon Sep 17 00:00:00 2001 From: Fierelier Date: Mon, 7 Jan 2019 04:33:31 +0100 Subject: [PATCH] Fixed deletion of folders --- UniversalModloader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UniversalModloader.py b/UniversalModloader.py index 3707adb..3f85b02 100644 --- a/UniversalModloader.py +++ b/UniversalModloader.py @@ -196,8 +196,9 @@ def unloadMods(output = False): tries + 1 except: time.sleep(0.1) + tries + 1 else: - tries = 10 + break #ctypes.windll.kernel32.SetFileAttributesW(appPath,128)