Skip to content

Commit

Permalink
codacy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Grossmann-Kavanagh committed Jul 10, 2018
1 parent 067e3e1 commit bb9a00d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion connexion/decorators/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def is_json_schema_compatible(self, response_schema):
"""
if not response_schema:
return False
return (all_json([self.mimetype]) or self.mimetype == 'text/plain')
return all_json([self.mimetype]) or self.mimetype == 'text/plain'

def __call__(self, function):
"""
Expand Down
2 changes: 1 addition & 1 deletion examples/openapi3/sqlalchemy/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ def shutdown_session(exception=None):


if __name__ == '__main__':
app.run(port=8081, use_reloader=False, threaded=False)
app.run(port=8081, use_reloader=False, threaded=False)

0 comments on commit bb9a00d

Please sign in to comment.