From 6f4ffa7f72c3427eaec53be6433b561eee46ecdf Mon Sep 17 00:00:00 2001 From: langolierz Date: Wed, 11 Dec 2019 19:12:27 +0000 Subject: [PATCH] fix update code --- actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions.py b/actions.py index 9e14622..0e20598 100644 --- a/actions.py +++ b/actions.py @@ -871,5 +871,5 @@ class Actions(object): @staticmethod def try_remove_file(path): - os.path.exists(path): + if os.path.exists(path): os.remove(filePath)