From b7333699e61837793e128ae0628ac6b0b111e6dd Mon Sep 17 00:00:00 2001 From: mjfernez Date: Fri, 25 Feb 2022 17:41:46 -0500 Subject: Merge server changes from branch master --- server.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'server.py') diff --git a/server.py b/server.py index ab66ccc..f3892c0 100644 --- a/server.py +++ b/server.py @@ -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() -- cgit v1.2.3