mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 00:26:01 +08:00
Add constructor for keyring attribute
_store_secure was used, so it should be created on construction
This commit is contained in:
parent
1e5d7623cb
commit
0d38035944
@ -22,7 +22,11 @@ if Platform.isWindows() and hasattr(sys, "frozen"):
|
||||
# Even if errors happen, we don't want this stored locally:
|
||||
DONT_EVER_STORE_LOCALLY = ["refresh_token"]
|
||||
|
||||
|
||||
class KeyringAttribute:
|
||||
def __init__(self) -> None:
|
||||
self._store_secure = True
|
||||
|
||||
"""
|
||||
Descriptor for attributes that need to be stored in the keyring. With Fallback behaviour to the preference cfg file
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user