fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0541ee5
)
fixed feeds
author
Jan Szejko
<j-sz@o2.pl>
Thu, 4 Feb 2016 09:42:46 +0000
(10:42 +0100)
committer
Jan Szejko
<j-sz@o2.pl>
Thu, 4 Feb 2016 09:42:46 +0000
(10:42 +0100)
src/catalogue/feeds.py
patch
|
blob
|
history
diff --git
a/src/catalogue/feeds.py
b/src/catalogue/feeds.py
index
3bf1411
..
2a65c59
100644
(file)
--- a/
src/catalogue/feeds.py
+++ b/
src/catalogue/feeds.py
@@
-29,8
+29,8
@@
class AudiobookFeed(Feed):
'daisy': 'WolneLektury.pl - audiobooki w formacie DAISY',
}
- def get_object(self, request,
obj_
type):
- return {'type':
obj_
type, 'all': 'all' in request.GET}
+ def get_object(self, request, type):
+ return {'type': type, 'all': 'all' in request.GET}
def title(self, args):
return self.titles[args['type']]