Fixed undefined reference
This commit is contained in:
parent
cc61032bec
commit
a60e89806f
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -60,7 +60,7 @@ nav {
|
|||
.settings {
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
padding: 1rem;
|
||||
padding: .75rem 1rem;
|
||||
|
||||
&:hover {
|
||||
background: $hover-bg;
|
||||
|
|
Loading…
Reference in a new issue