Skip to content

Commit

Permalink
conflict fix
Browse files Browse the repository at this point in the history
  • Loading branch information
search5 committed Mar 10, 2024
2 parents c6c2209 + 2244c80 commit cb7bed5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion social_cherrypy/strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ def build_absolute_uri(self, path=None):
return cherrypy.url(path or "")

def is_response(self, value):
return (isinstance(value, str) or
return (isinstance(value, str) or # fmt: skip
isinstance(value, cherrypy.CherryPyException))
3 changes: 2 additions & 1 deletion social_cherrypy/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ 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, # fmt: skip
csrfmiddlewaretoken=None):
user = getattr(cherrypy.request, "user", None)
return do_disconnect(self.backend, user, association_id)

Expand Down

0 comments on commit cb7bed5

Please sign in to comment.