From dad51dad77c998f09d5509c85bba4db6ec9d061e Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 22 Aug 2023 18:48:07 +0800 Subject: [PATCH] Update files_api.py --- class/core/files_api.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/class/core/files_api.py b/class/core/files_api.py index b668645ce..939d33d8e 100755 --- a/class/core/files_api.py +++ b/class/core/files_api.py @@ -708,10 +708,7 @@ class files_api: return not path in nDirs def getDirSize(self, path): - if mw.isAppleSystem(): - tmp = mw.execShell('du -sh ' + path) - else: - tmp = mw.execShell('du -sbh ' + path) + tmp = mw.execShell('du -sh ' + path) return tmp def checkFileName(self, filename):