Mercurial > hg > index.fcgi > www > www-1
annotate 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 |
rev | line source |
---|---|
paulo@108 | 1 from flask import Flask |
paulo@108 | 2 |
paulo@108 | 3 import myrss_app |
paulo@108 | 4 |
paulo@108 | 5 |
paulo@108 | 6 flask_app = Flask(__name__) |
paulo@108 | 7 my_app = myrss_app.MyRssApp() |
paulo@108 | 8 |
paulo@108 | 9 |
paulo@108 | 10 @flask_app.route("/") |
paulo@108 | 11 def index(): |
paulo@108 | 12 return my_app.call() |