We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84daf5d + 85f5886 commit 5b00ca4Copy full SHA for 5b00ca4
earthpy/api/auth.py
@@ -74,9 +74,8 @@ def get_keyring_credentials(self) -> Optional[Tuple[str, str]]:
74
if creds_json:
75
creds = json.loads(creds_json)
76
return creds['username'], creds['password']
77
- except (json.JSONDecodeError, KeyError):
78
- pass
79
- return None
+ except:
+ return None
80
81
def set_keyring_credentials(self, username: str, password: str):
82
"""Store username and password in keyring"""
0 commit comments