comparison myrss2/myrss_flask.py @ 129:bd8a61f9162f

myrss2: add San Mateo Daily Journal to FEEDS
author paulo
date Tue, 11 Jan 2022 02:36:16 -0800
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()