diff options
Diffstat (limited to 'kvmd/plugins/msd/otg/drive.py')
-rw-r--r-- | kvmd/plugins/msd/otg/drive.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/plugins/msd/otg/drive.py b/kvmd/plugins/msd/otg/drive.py index 407aef9e..9fc947ab 100644 --- a/kvmd/plugins/msd/otg/drive.py +++ b/kvmd/plugins/msd/otg/drive.py @@ -57,7 +57,8 @@ class Drive: self.__set_param("forced_eject", "") def get_image_path(self) -> str: - return self.__get_param("file") + path = self.__get_param("file") + return (os.path.normpath(path) if path else "") def set_cdrom_flag(self, flag: bool) -> None: self.__set_param("cdrom", str(int(flag))) |