mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
copy some msd dicts to avoid changing
This commit is contained in:
parent
90d8e745e3
commit
b67a232584
@ -198,12 +198,12 @@ class Storage(_StorageDc):
|
||||
@property
|
||||
def images(self) -> dict[str, Image]:
|
||||
assert self.__images is not None
|
||||
return self.__images
|
||||
return dict(self.__images)
|
||||
|
||||
@property
|
||||
def parts(self) -> dict[str, _Part]:
|
||||
assert self.__parts is not None
|
||||
return self.__parts
|
||||
return dict(self.__parts)
|
||||
|
||||
async def reload(self) -> None:
|
||||
self.__watchable_paths = None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user