mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06: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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue