Update files_api.py

This commit is contained in:
midoks
2023-08-22 18:48:07 +08:00
parent d89751f733
commit dad51dad77
+1 -4
View File
@@ -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):