[elbe-devel] [PATCH 05/10] elbepack: qemu_firmware: execute joinpath() on Path object
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Mon Aug 12 14:19:26 CEST 2024
The old code tried to execute str.joinpath() which does not exist.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/qemu_firmware.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/qemu_firmware.py b/elbepack/qemu_firmware.py
index 10f9df9596d7..759e8f4dbe10 100755
--- a/elbepack/qemu_firmware.py
+++ b/elbepack/qemu_firmware.py
@@ -178,7 +178,7 @@ class FirmwareSearcher:
xdg_config_home = os.environ.get('XDG_CONFIG_HOME')
if xdg_config_home is not None:
search_dirs.append(
- pathlib.Path(xdg_config_home.joinpath('qemu', 'firmware'))
+ pathlib.Path(xdg_config_home).joinpath('qemu', 'firmware')
)
else:
search_dirs.append(
--
2.46.0
More information about the elbe-devel
mailing list