gouthambs / Flask-Blogging

A Markdown Based Python Blog Engine as a Flask Extension.
http://flask-blogging.readthedocs.org/en/latest/
MIT License
688 stars 159 forks source link

Views always uses only default post processor. #134

Closed agiUnderground closed 5 years ago

agiUnderground commented 5 years ago

Files: https://github.com/gouthambs/Flask-Blogging/blob/master/flask_blogging/views.py

Lines: https://github.com/gouthambs/Flask-Blogging/blob/master/flask_blogging/views.py#L235 https://github.com/gouthambs/Flask-Blogging/blob/master/flask_blogging/views.py#L260 https://github.com/gouthambs/Flask-Blogging/blob/master/flask_blogging/views.py#L296

How to reproduce: 1) Create BloggingEngine object with a custom "post_processor" argument. Change a custom post_processor object behaviour, for example add "os.exit(1)". 2) Run the project and see that it's runs as usual, not using custom post processor in edit/delete views.