diff options
author | Maxim Devaev <[email protected]> | 2024-10-19 09:25:20 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-10-19 09:25:20 +0300 |
commit | b67a2325842a6f407d3935f8445d50cb8bf307f2 (patch) | |
tree | 6d11469694a649900561df16859497256c5d9efa /kvmd/plugins/msd/otg/storage.py | |
parent | 90d8e745e39b5e49fcb1d50c1efa95148593496b (diff) |
copy some msd dicts to avoid changing
Diffstat (limited to 'kvmd/plugins/msd/otg/storage.py')
-rw-r--r-- | kvmd/plugins/msd/otg/storage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/otg/storage.py b/kvmd/plugins/msd/otg/storage.py index 32f52a2d..f3679741 100644 --- a/kvmd/plugins/msd/otg/storage.py +++ b/kvmd/plugins/msd/otg/storage.py @@ -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 |