diff --git a/patches/february_2013/remove_account_utils_folder.py b/patches/february_2013/remove_account_utils_folder.py index 718826baa0..5d0313bbfb 100644 --- a/patches/february_2013/remove_account_utils_folder.py +++ b/patches/february_2013/remove_account_utils_folder.py @@ -3,4 +3,6 @@ def execute(): import shutil import os - shutil.rmtree(os.path.join(get_base_path(), "app", "accounts", "utils")) \ No newline at end of file + utils_path = os.path.join(get_base_path(), "app", "accounts", "utils") + if os.path.exists(utils_path): + shutil.rmtree(utils_path) \ No newline at end of file