Skip to content

Commit f33fcfb

Browse files
authored
Restore the indentation on the check, keeping the logic in the only place it's reachable (and limiting the diff).
1 parent 2f3f4ec commit f33fcfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

keyring/backends/Windows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,6 @@ def get_credential(self, service, username):
166166
if not res:
167167
cred = self._get_password(service)
168168
res = cred if username is None or username == cred["UserName"] else None
169-
if not res:
170-
return None
169+
if not res:
170+
return None
171171
return SimpleCredential(res['UserName'], res.value)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy