diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2021-03-05 17:57:21 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2021-03-05 17:57:21 +0000 |
commit | 287034916bef5878a5565aec4141216fa6f133e6 (patch) | |
tree | c607cf3ced9819fe356fc13aa8757fb0bbb1a9d8 /app.py | |
parent | 64f4004d605cd0e576c3fc3fec95a7f118b4f20e (diff) | |
download | boymoder.blog-287034916bef5878a5565aec4141216fa6f133e6.tar.gz boymoder.blog-287034916bef5878a5565aec4141216fa6f133e6.zip |
drastically improved parser argument parser
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -83,7 +83,7 @@ def get_thought(): flask.abort(404) return return flask.render_template_string( - parsed, + '{% extends "template.html" %}\n{% block content %}\n' + parsed + '\n{% endblock %}', **get_template_items(title, db), thought = True, dt = "published: " + str(dt), @@ -145,7 +145,5 @@ def preview(): else: flask.abort(404) - - if __name__ == "__main__": app.run(host = "0.0.0.0", debug = True)
\ No newline at end of file |