mirror of
https://github.com/akuker/RASCSI.git
synced 2025-02-22 14:29:09 +00:00
Fix one case of Path object conversion that was missed during the refactoring (#929)
This commit is contained in:
parent
ade656e38b
commit
e3e833b4d2
@ -642,8 +642,8 @@ def attach_image():
|
|||||||
|
|
||||||
# Attempt to load the device properties file:
|
# Attempt to load the device properties file:
|
||||||
# same file name with PROPERTIES_SUFFIX appended
|
# same file name with PROPERTIES_SUFFIX appended
|
||||||
drive_properties = f"{CFG_DIR}/{file_name}.{PROPERTIES_SUFFIX}"
|
drive_properties = Path(CFG_DIR) / f"{file_name}.{PROPERTIES_SUFFIX}"
|
||||||
if Path(drive_properties).is_file():
|
if drive_properties.is_file():
|
||||||
process = file_cmd.read_drive_properties(drive_properties)
|
process = file_cmd.read_drive_properties(drive_properties)
|
||||||
process = ReturnCodeMapper.add_msg(process)
|
process = ReturnCodeMapper.add_msg(process)
|
||||||
if not process["status"]:
|
if not process["status"]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user