Spaces:
Runtime error
Runtime error
is_dir once more
Browse files
main.py
CHANGED
|
@@ -51,7 +51,7 @@ def files_in_folder(path: str):
|
|
| 51 |
"",
|
| 52 |
2,
|
| 53 |
]
|
| 54 |
-
res.sort_values(["
|
| 55 |
|
| 56 |
table = to_html_datatable(
|
| 57 |
df=res.drop(columns="is_dir"),
|
|
|
|
| 51 |
"",
|
| 52 |
2,
|
| 53 |
]
|
| 54 |
+
res.sort_values(["is_dir", "path"], ascending=[False, True], inplace=True)
|
| 55 |
|
| 56 |
table = to_html_datatable(
|
| 57 |
df=res.drop(columns="is_dir"),
|