diff options
author | Maxim Devaev <[email protected]> | 2022-11-07 19:36:44 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-11-07 19:36:44 +0300 |
commit | d93d112aa081a60b6e8711159f4d998ce25b7108 (patch) | |
tree | 56c9dba42efd65867bbc39ce3f3e85cc25b9ac33 /kvmd/apps | |
parent | 10633f9e08cd8f7c30f086640ce6ae260b89b631 (diff) |
refactoring
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/pst/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/pst/server.py b/kvmd/apps/pst/server.py index 8ea69b80..2d41b15f 100644 --- a/kvmd/apps/pst/server.py +++ b/kvmd/apps/pst/server.py @@ -50,7 +50,7 @@ class PstServer(HttpServer): # pylint: disable=too-many-arguments,too-many-inst super().__init__() - self.__data_path = os.path.join(fstab.find_partition(fstab.PartitionType.PST).root_path, "data") + self.__data_path = os.path.join(fstab.find_pst().root_path, "data") self.__ro_retries_delay = ro_retries_delay self.__ro_cleanup_delay = ro_cleanup_delay self.__remount_cmd = remount_cmd |