Skip to content

Commit 636f88b

Browse files
committed
Fixed syntax error
1 parent c5c6a90 commit 636f88b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

radicale_modoboa_auth_oauth2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ def _login(self, login, password):
2323
}
2424
response = requests.post(self._endpoint, data=data, headers=headers)
2525
content = response.json()
26-
if response.status_code == 200 and content.get("active") and content.get("username") == login::
26+
if response.status_code == 200 and content.get("active") and content.get("username") == login:
2727
return login
2828
return ""

0 commit comments

Comments
 (0)