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