Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 10, 2024
1 parent 5339a79 commit 2244c80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions social_cherrypy/strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,4 @@ def build_absolute_uri(self, path=None):
return cherrypy.url(path or "")

def is_response(self, value):
return isinstance(value, str) or \
isinstance(value, cherrypy.CherryPyException)
return isinstance(value, str) or isinstance(value, cherrypy.CherryPyException)
3 changes: 1 addition & 2 deletions social_cherrypy/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def complete(self, backend, *args, **kwargs):

@cherrypy.expose
@psa()
def disconnect(self, backend, association_id=None,
csrfmiddlewaretoken=None):
def disconnect(self, backend, association_id=None, csrfmiddlewaretoken=None):
user = getattr(cherrypy.request, "user", None)
return do_disconnect(self.backend, user, association_id)

Expand Down

0 comments on commit 2244c80

Please sign in to comment.