Skip to content

Commit

Permalink
revert Middleware argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Dec 6, 2018
1 parent ca6b552 commit a11e803
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion engineio/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,7 @@ def get_socket(self):

class Middleware(WSGIApp):
"""This class has been renamed to WSGIApp and is now deprecated."""
pass
def __init__(self, engineio_app, wsgi_app=None,
engineio_path='engine.io'):
super(Middleware, self).__init__(engineio_app, wsgi_app,
engineio_path=engineio_path)

0 comments on commit a11e803

Please sign in to comment.