mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 18:42:34 +01:00
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>
This commit is contained in:
committed by
GitHub
parent
674061c1d3
commit
ce42957162
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user