diff options
Diffstat (limited to 'server.py')
-rw-r--r-- | server.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -4,12 +4,10 @@ server.py - sets up and runs the flask server from flask import Flask from siteconfig import siteconfig from flask_compress import Compress -from flask_caching import Cache -from rss_generator import RSS_Item, get_rss_channel +from rss_generator import get_rss_channel app = Flask(__name__) compress = Compress() -cache = Cache(config=siteconfig.cache_config) from views import * @@ -33,6 +31,5 @@ def setup(): # Setup needs to come first to be compatible with wsgi setup() compress.init_app(app) -cache.init_app(app) if __name__ == "__main__": app.run() |