From a60e89806fd363250a0bf198a42527d862a2c04b Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 16 Jul 2019 22:43:27 +0200 Subject: [PATCH] Fixed undefined reference --- platypush/backend/http/request/rss/__init__.py | 2 +- platypush/backend/http/static/css/source/webpanel/nav.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/backend/http/request/rss/__init__.py b/platypush/backend/http/request/rss/__init__.py index c7747034..d97f2885 100644 --- a/platypush/backend/http/request/rss/__init__.py +++ b/platypush/backend/http/request/rss/__init__.py @@ -23,12 +23,12 @@ Session = scoped_session(sessionmaker()) class RssUpdates(HttpRequest): """ Gets new items in an RSS feed """ - dbfile = os.path.join(workdir, 'rss.db') user_agent = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36' def __init__(self, url, title=None, headers=None, params=None, max_entries=None, mercury_api_key=None, digest_format=None, *argv, **kwargs): self.workdir = os.path.join(os.path.expanduser(Config.get('workdir')), 'feeds') + self.dbfile = os.path.join(workdir, 'rss.db') self.url = url self.title = title self.max_entries = max_entries diff --git a/platypush/backend/http/static/css/source/webpanel/nav.scss b/platypush/backend/http/static/css/source/webpanel/nav.scss index 6910dd0d..790302af 100644 --- a/platypush/backend/http/static/css/source/webpanel/nav.scss +++ b/platypush/backend/http/static/css/source/webpanel/nav.scss @@ -60,7 +60,7 @@ nav { .settings { display: inline-block; cursor: pointer; - padding: 1rem; + padding: .75rem 1rem; &:hover { background: $hover-bg;