summaryrefslogtreecommitdiff
path: root/kvmd/plugins
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-11-07 19:36:44 +0300
committerMaxim Devaev <[email protected]>2022-11-07 19:36:44 +0300
commitd93d112aa081a60b6e8711159f4d998ce25b7108 (patch)
tree56c9dba42efd65867bbc39ce3f3e85cc25b9ac33 /kvmd/plugins
parent10633f9e08cd8f7c30f086640ce6ae260b89b631 (diff)
refactoring
Diffstat (limited to 'kvmd/plugins')
-rw-r--r--kvmd/plugins/msd/otg/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/msd/otg/__init__.py b/kvmd/plugins/msd/otg/__init__.py
index 06615ac9..4ef47097 100644
--- a/kvmd/plugins/msd/otg/__init__.py
+++ b/kvmd/plugins/msd/otg/__init__.py
@@ -160,7 +160,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
self.__initial_cdrom: bool = initial["cdrom"]
self.__drive = Drive(gadget, instance=0, lun=0)
- self.__storage = Storage(fstab.find_partition(fstab.PartitionType.MSD).root_path)
+ self.__storage = Storage(fstab.find_msd().root_path)
self.__reader: (MsdFileReader | None) = None
self.__writer: (MsdFileWriter | None) = None