Mercurial > hg > index.fcgi > www > www-1
diff myrss2/myrss_flask.py @ 108:cffd95813b82
add myrss2
author | paulo |
---|---|
date | Sun, 24 May 2020 00:22:05 -0700 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/myrss2/myrss_flask.py Sun May 24 00:22:05 2020 -0700 1.3 @@ -0,0 +1,12 @@ 1.4 +from flask import Flask 1.5 + 1.6 +import myrss_app 1.7 + 1.8 + 1.9 +flask_app = Flask(__name__) 1.10 +my_app = myrss_app.MyRssApp() 1.11 + 1.12 + 1.13 +@flask_app.route("/") 1.14 +def index(): 1.15 + return my_app.call()