mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 04:05:55 +08:00
Change the OS_X keyring backend module to macOS
Since the OS_X has been deprecated since keyring v22.0.0 and has been replaced by the macOS. CURA-7180
This commit is contained in:
parent
1c806199a4
commit
fe2d554ec0
@ -19,7 +19,7 @@ if Platform.isWindows() and hasattr(sys, "frozen"):
|
|||||||
from keyring.backends.Windows import WinVaultKeyring
|
from keyring.backends.Windows import WinVaultKeyring
|
||||||
keyring.set_keyring(WinVaultKeyring())
|
keyring.set_keyring(WinVaultKeyring())
|
||||||
if Platform.isOSX() and hasattr(sys, "frozen"):
|
if Platform.isOSX() and hasattr(sys, "frozen"):
|
||||||
from keyring.backends.OS_X import Keyring
|
from keyring.backends.macOS import Keyring
|
||||||
keyring.set_keyring(Keyring())
|
keyring.set_keyring(Keyring())
|
||||||
|
|
||||||
# Even if errors happen, we don't want this stored locally:
|
# Even if errors happen, we don't want this stored locally:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user