summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/otg/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-03-06 18:31:49 +0200
committerMaxim Devaev <[email protected]>2023-03-06 18:31:49 +0200
commitcd3c28e97f9a5159148efa90d8e07c55edc86aae (patch)
tree0fb902431bf048e8b5c8cbfefcde5aed7a04c4d6 /kvmd/plugins/msd/otg/__init__.py
parent7667834b6de23ce71ea2e805f6a50eb679444b9e (diff)
refactoring
Diffstat (limited to 'kvmd/plugins/msd/otg/__init__.py')
-rw-r--r--kvmd/plugins/msd/otg/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/otg/__init__.py b/kvmd/plugins/msd/otg/__init__.py
index ce43d3d8..4155a89e 100644
--- a/kvmd/plugins/msd/otg/__init__.py
+++ b/kvmd/plugins/msd/otg/__init__.py
@@ -179,7 +179,6 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
for name in list(storage["images"]):
del storage["images"][name]["path"]
del storage["images"][name]["in_storage"]
- del storage["images"][name]["storage"]
storage["downloading"] = (self.__reader.get_state() if self.__reader else None)
@@ -197,7 +196,6 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
vd = dataclasses.asdict(self.__state.vd)
if vd["image"]:
del vd["image"]["path"]
- del vd["image"]["storage"]
return {
"enabled": True,