mirror of
https://github.com/aclist/dztui.git
synced 2026-10-28 13:42:42 +01:00
feat: preconnect dialog (WIP)
This commit is contained in:
1 parent
25640751a5
commit
b42aea1e02
9 files changed
+99
-41
No files matched your search
+1
-1
@@ -81,7 +81,7 @@ def get_mod_size(path: Path) -> float:
|
||||
s = 0
|
||||
for f in path.rglob("*"):
|
||||
s += f.stat().st_size
|
||||
size = round(s / (1024 * 1024), 3)
|
||||
size = round(s / (1024**2), 3)
|
||||
return size
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user