We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5bca809 + cc48e5a commit bd3e62eCopy full SHA for bd3e62e
setup.py
@@ -16,5 +16,5 @@
16
package_dir={"": "src"},
17
packages=["cs50"],
18
url="https://github.com/cs50/python-cs50",
19
- version="4.0.0"
+ version="4.0.1"
20
)
src/cs50/flask.py
@@ -49,8 +49,8 @@ def _after(*args, **kwargs):
49
import flask
50
from werkzeug.middleware.proxy_fix import ProxyFix
51
_before = flask.Flask.__init__
52
- def _after(*args, **kwargs):
53
- _before(*args, **kwargs)
+ def _after(self, *args, **kwargs):
+ _before(self, *args, **kwargs)
54
self.wsgi_app = ProxyFix(self.wsgi_app, x_proto=1)
55
flask.Flask.__init__ = _after
56
except:
0 commit comments