comparison myrss2/myrss_flask.py @ 144:90f3021e3137

myrss2: FEEDS: Remove longform.org; add propublic.org
author paulo
date Tue, 28 May 2024 06:23:58 +0000
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()