Remove unused getcryptdbpath leftover function.

This commit is contained in:
miruka 2019-04-22 10:05:08 -04:00
parent 03dc9be523
commit 98969b75c7

View File

@ -21,7 +21,6 @@ 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: