mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
refactoring
This commit is contained in:
parent
486f1be986
commit
c92d17dea2
@ -113,8 +113,7 @@ def main() -> None:
|
|||||||
|
|
||||||
storage = _find_storage(target)
|
storage = _find_storage(target)
|
||||||
_remount(storage.mount_path, rw)
|
_remount(storage.mount_path, rw)
|
||||||
if rw:
|
if rw and storage.root_path:
|
||||||
if storage.root_path:
|
|
||||||
for name in dirs:
|
for name in dirs:
|
||||||
path = os.path.join(storage.root_path, name)
|
path = os.path.join(storage.root_path, name)
|
||||||
_mkdir(path)
|
_mkdir(path)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user