feed shows if it's enabled or not
This commit is contained in:
parent
ea14005ac1
commit
4b11d2a01e
@ -40,9 +40,13 @@ class Feed(Base):
|
||||
else:
|
||||
title = '<unknown>'
|
||||
last = '<never>'
|
||||
if self.enabled:
|
||||
enabled = 'enabled'
|
||||
else:
|
||||
enabled = 'DISABLED'
|
||||
entries = len(self.entries)
|
||||
url = self.url
|
||||
return u'%3d %s (%d entries, last fetched %s)\n %s' % (id, title, entries, last, url)
|
||||
return u'%3d %s (%d entries, last fetched %s, %s)\n %s' % (id, title, entries, last, enabled, url)
|
||||
|
||||
def __str__(self):
|
||||
return unicode(self).encode('utf-8')
|
||||
|
Loading…
Reference in New Issue
Block a user