Remove unused getcryptdbpath leftover function.
This commit is contained in:
parent
03dc9be523
commit
98969b75c7
|
@ -20,8 +20,7 @@ from .client import Client
|
||||||
|
|
||||||
AccountConfig = Dict[str, Dict[str, str]]
|
AccountConfig = Dict[str, Dict[str, str]]
|
||||||
|
|
||||||
_CONFIG_LOCK = threading.Lock()
|
_CONFIG_LOCK = threading.Lock()
|
||||||
# _CRYPT_DB_LOCK = threading.Lock()
|
|
||||||
|
|
||||||
|
|
||||||
class ClientManager(QObject):
|
class ClientManager(QObject):
|
||||||
|
@ -112,13 +111,6 @@ class ClientManager(QObject):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def getCryptDBPath(self, user_id: str) -> str:
|
|
||||||
safe_filename = hashlib.md5(user_id.encode("utf-8")).hexdigest()
|
|
||||||
return self._get_standard_path(
|
|
||||||
QStandardPaths.AppDataLocation, f"encryption/{safe_filename}.db"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
# Config file operations
|
# Config file operations
|
||||||
|
|
||||||
def configAccounts(self) -> AccountConfig:
|
def configAccounts(self) -> AccountConfig:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user