This commit is contained in:
2026-03-02 00:25:40 +01:00
parent e7d6d288a8
commit b665cb5def
32 changed files with 3287 additions and 953 deletions

View File

@@ -11,7 +11,7 @@ def get_file_tree(conn, target_path="/", recursive=False) -> list:
cmd_path = target_path.rstrip('/') if target_path != '/' else '/'
try:
lines = conn.send_command(f"ls {cmd_path}")
lines = conn.list_directory(cmd_path)
except BuzzerError as e:
return [{"type": "E", "name": f"Fehler beim Lesen: {e}", "path": target_path}]