Browse Source

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

Konstantinos Karmas 3 years ago
parent
commit
fe2d554ec0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/OAuth2/KeyringAttribute.py

+ 1 - 1
cura/OAuth2/KeyringAttribute.py

@@ -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: