From 2e06ca3fe9f85c94f199fe74e37953ae569d2092 Mon Sep 17 00:00:00 2001 From: Ihor Pryyma Date: Mon, 22 Jul 2024 09:36:05 +0300 Subject: [PATCH] fix: update --- common/mount.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common/mount.py b/common/mount.py index d9937d23c..f218563ff 100644 --- a/common/mount.py +++ b/common/mount.py @@ -104,18 +104,18 @@ def postUmountCheck(self): return True """ +import getpass +import json import os import subprocess -import json -import getpass -from zlib import crc32 from time import sleep +from zlib import crc32 import config import logger -import tools import password -from exceptions import MountException, HashCollision +import tools +from exceptions import HashCollision, MountException class Mount(object): @@ -144,7 +144,7 @@ def __init__(self, tmp_mount = False, parent = None): self.config = cfg or config.Config() - self.profile_id = profile_id if profile_id is not None else self.config.currentProfile() + self.profile_id = profile_id or self.config.currentProfile() self.tmp_mount = tmp_mount self.parent = parent