comparison myrss2/myrss_flask.py @ 110:1a5c0fc5627a

myrss2: fix gzip and leading whitespace handling; add test feed, test server; update FEEDS
author paulo
date Wed, 03 Jun 2020 01:20:20 -0700
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:6570192f4324
1 from flask import Flask
2
3 import myrss_app
4
5
6 flask_app = Flask(__name__)
7 my_app = myrss_app.MyRssApp()
8
9
10 @flask_app.route("/")
11 def index():
12 return my_app.call()