fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup comments
[wolnelektury.git]
/
src
/
catalogue
/
views.py
diff --git
a/src/catalogue/views.py
b/src/catalogue/views.py
index
fc73c71
..
3cd6bc1
100644
(file)
--- a/
src/catalogue/views.py
+++ b/
src/catalogue/views.py
@@
-308,7
+308,7
@@
def get_audiobooks(book):
return audiobooks, projects, have_oggs
return audiobooks, projects, have_oggs
-# używane
tylko do audiobook_tree, które jest używane tylko w snippets/audiobook_list.html, które nie jest używan
e
+# używane
w publicznym interfejsi
e
def player(request, slug):
book = get_object_or_404(Book, slug=slug)
if not book.has_media('mp3'):
def player(request, slug):
book = get_object_or_404(Book, slug=slug)
if not book.has_media('mp3'):
@@
-316,8
+316,6
@@
def player(request, slug):
audiobooks, projects, have_oggs = get_audiobooks(book)
audiobooks, projects, have_oggs = get_audiobooks(book)
- # extra_info = book.extra_info
-
return render_to_response('catalogue/player.html', {
'book': book,
'audiobook': '',
return render_to_response('catalogue/player.html', {
'book': book,
'audiobook': '',