Widdershin / flask-desktop

flask-desktop lets you create first class desktop applications in Python with HTML/CSS
MIT License
368 stars 62 forks source link

required positional argument 'environ' and 'start_response' #38

Open sanatho opened 1 year ago

sanatho commented 1 year ago

when I execute app.py i get

Exception in thread Thread-1: Traceback (most recent call last): Command: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --user-data-dir=C:\Users\Thomas\AppData\Local\Temp\flaskwebgui --new-window --no-first-run --start-maximized --app=http://127.0.0.1:50321 File "C:\Program Files\Python310\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Program Files\Python310\lib\threading.py", line 946, in run self._target(*self._args, **self._kwargs) TypeError: Flask.__call__() missing 2 required positional arguments: 'environ' and 'start_response' The original flask app works correctly image