From 6bbc3ea73b6a33d1d9f4f6a0a3b2cd33e6537cf1 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 14 Nov 2022 18:06:52 +0800 Subject: [PATCH] Update files_api.py --- class/core/files_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/core/files_api.py b/class/core/files_api.py index b273803fd..48c931c48 100755 --- a/class/core/files_api.py +++ b/class/core/files_api.py @@ -784,7 +784,7 @@ class files_api: # 检查是否为.user.ini if path.find('.user.ini') >= 0: - os.system("which chattr && chattr -i '" + path + "'") + mw.execShell("which chattr && chattr -i '" + path + "'") try: if os.path.exists('data/recycle_bin.pl'):