summaryrefslogtreecommitdiff
path: root/kvmd/plugins
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-11-07 13:56:39 +0300
committerMaxim Devaev <[email protected]>2022-11-07 13:56:39 +0300
commit941b3bbd75b298d69b40a838dd149833594394ae (patch)
treefef9a8f55648d0f0f322730b623cdaa0e47bcac4 /kvmd/plugins
parent317a127f58ef41f4b9fd31af76e742db3179703d (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 fa6c1fe9..06615ac9 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_storage("otgmsd").root_path)
+ self.__storage = Storage(fstab.find_partition(fstab.PartitionType.MSD).root_path)
self.__reader: (MsdFileReader | None) = None
self.__writer: (MsdFileWriter | None) = None