Change fields verification for stat output

This commit is contained in:
artex 2021-10-13 09:50:17 +03:00
parent e2fe8b22f5
commit d1fb094b5e
1 changed files with 1 additions and 1 deletions

View File

@ -1740,7 +1740,7 @@ class Linux(Platform):
# 14 total size in bytes
for i in range(len(fields)):
if fields[i] == "?":
if not fields[i].isdigit():
fields[i] = "0"
stat = os.stat_result(