websauna
websauna copied to clipboard
wsgi filters break some cmd commands
If i add some filter to .ini like:
[filter:myfilter]
...
[app:main]
use = egg:MyEgg
filter-with = myfilter
This part of code failed (cmd like ws-settings etc) with error Configuration did not yield to Websauna application with Initializer set up:
https://github.com/websauna/websauna/blob/5524757e545d27f1198b645626b9bea0a29e9c30/websauna/system/devop/cmdline.py#L130-L131
get_wsgi_app function return myfilter, that don't have initializer attr