From ce42957162e0615a3bbae90aeb2cae3720d9d2c8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Apr 2026 17:33:06 +0000 Subject: [PATCH] style: use consistent positional args for remove_file call Agent-Logs-Url: https://github.com/rommapp/romm/sessions/303f2c27-6b65-41a9-b201-c055142b1edb Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com> --- backend/endpoints/roms/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/endpoints/roms/__init__.py b/backend/endpoints/roms/__init__.py index 560cb9e30..622091cdf 100644 --- a/backend/endpoints/roms/__init__.py +++ b/backend/endpoints/roms/__init__.py @@ -1480,7 +1480,7 @@ async def delete_roms( if full_path.is_dir(): await fs_rom_handler.remove_directory(rom_path) else: - await fs_rom_handler.remove_file(file_path=rom_path) + await fs_rom_handler.remove_file(rom_path) # Clean up empty parent directory if it becomes empty parent = full_path.parent if (