fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
all audiobooks ever feed instead of public audiobooks in all formats
[wolnelektury.git]
/
apps
/
catalogue
/
feeds.py
diff --git
a/apps/catalogue/feeds.py
b/apps/catalogue/feeds.py
index
356bb02
..
c79e058
100644
(file)
--- a/
apps/catalogue/feeds.py
+++ b/
apps/catalogue/feeds.py
@@
-42,8
+42,8
@@
class AudiobookFeed(Feed):
if type == 'all':
objects = objects.filter(type__in=('mp3', 'ogg', 'daisy'))
else:
- objects = objects.filter(type=type)
- return objects
[:20]
+ objects = objects.filter(type=type)
[:20]
+ return objects
def item_title(self, item):
return item.name