mirror of
https://github.com/akuker/RASCSI.git
synced 2025-08-15 08:27:34 +00:00
Fix issue causing stale reservations after loading a config
This commit is contained in:
@@ -521,6 +521,8 @@ class FileCmds:
|
|||||||
# introduce more sophisticated format detection logic here.
|
# introduce more sophisticated format detection logic here.
|
||||||
if isinstance(config, dict):
|
if isinstance(config, dict):
|
||||||
self.ractl.detach_all()
|
self.ractl.detach_all()
|
||||||
|
for scsi_id in range(0, 8):
|
||||||
|
RESERVATIONS[scsi_id] = ""
|
||||||
ids_to_reserve = []
|
ids_to_reserve = []
|
||||||
for item in config["reserved_ids"]:
|
for item in config["reserved_ids"]:
|
||||||
ids_to_reserve.append(item["id"])
|
ids_to_reserve.append(item["id"])
|
||||||
|
Reference in New Issue
Block a user