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:
Konstantinos Karmas 2021-04-09 17:14:32 +02:00 committed by GitHub
parent 1c806199a4
commit fe2d554ec0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ if Platform.isWindows() and hasattr(sys, "frozen"):
from keyring.backends.Windows import WinVaultKeyring
keyring.set_keyring(WinVaultKeyring())
if Platform.isOSX() and hasattr(sys, "frozen"):
from keyring.backends.OS_X import Keyring
from keyring.backends.macOS import Keyring
keyring.set_keyring(Keyring())
# Even if errors happen, we don't want this stored locally: