fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stats fix.
[wolnelektury.git]
/
src
/
search
/
views.py
diff --git
a/src/search/views.py
b/src/search/views.py
index
3bbe720
..
2fe94f4
100644
(file)
--- a/
src/search/views.py
+++ b/
src/search/views.py
@@
-1,4
+1,3
@@
-# -*- coding: utf-8 -*-
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
@@
-119,7
+118,7
@@
def main(request):
pd_authors = search_pd_authors(query)
books = search_books(query)
pictures = search_pictures(query)
pd_authors = search_pd_authors(query)
books = search_books(query)
pictures = search_pictures(query)
- suggestion =
u
''
+ suggestion = ''
if not (books or pictures or pd_authors):
form = PublishingSuggestForm(initial={"books": query + ", "})
if not (books or pictures or pd_authors):
form = PublishingSuggestForm(initial={"books": query + ", "})