From 4ece49bfe7dda6d8529d694db5f24ed28f3b758d Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 24 Mar 2020 09:11:07 +0100 Subject: [PATCH] Added missing string format parameter --- platypush/backend/http/request/rss/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/platypush/backend/http/request/rss/__init__.py b/platypush/backend/http/request/rss/__init__.py index d8e0dc839e..c42fbf7020 100644 --- a/platypush/backend/http/request/rss/__init__.py +++ b/platypush/backend/http/request/rss/__init__.py @@ -79,15 +79,14 @@ class RssUpdates(HttpRequest): errors = parser.simplify(link).errors if not response: - self.logger.warning('Mercury parser error: '.format(errors or '[unknown error]')) + self.logger.warning('Mercury parser error: {}'.format(errors or '[unknown error]')) return return response.get('content') def get_new_items(self, response): import feedparser - engine = create_engine('sqlite:///{}'.format(self.dbfile), - connect_args={'check_same_thread': False}) + engine = create_engine('sqlite:///{}'.format(self.dbfile), connect_args={'check_same_thread': False}) Base.metadata.create_all(engine) Session.configure(bind=engine)