Browse Source

BugFix: url_printview

master
Dirk Alders 4 years ago
parent
commit
8d5ce7ccae
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      __init__.py

+ 1
- 1
__init__.py View File

81
 def url_printview(request):
81
 def url_printview(request):
82
     if not is_printview(request):
82
     if not is_printview(request):
83
         search_query = get_search_query(request)
83
         search_query = get_search_query(request)
84
-        return '?printview' + ('&q=%s' % search_query) if search_query is not None else ''
84
+        return '?printview' + (('&q=%s' % search_query) if search_query is not None else '')
85
     else:
85
     else:
86
         return request.path
86
         return request.path
87
 
87
 

Loading…
Cancel
Save