Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import platform
|
|
12 |
def get_disk_usage():
|
13 |
|
14 |
with open("111.txt", 'w') as file:
|
15 |
-
|
16 |
|
17 |
try:
|
18 |
tree = subprocess.run(['tree'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
|
|
12 |
def get_disk_usage():
|
13 |
|
14 |
with open("111.txt", 'w') as file:
|
15 |
+
file.write(result.stdout)
|
16 |
|
17 |
try:
|
18 |
tree = subprocess.run(['tree'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|