refactoring

This commit is contained in:
Maxim Devaev 2022-04-10 06:14:48 +03:00
parent 486f1be986
commit c92d17dea2

View File

@ -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)