From 5f0191957f65a9f2e9d4f95b26eef70143b80b5f Mon Sep 17 00:00:00 2001 From: Matthias Hannig Date: Tue, 28 Jun 2016 18:44:54 +0200 Subject: [PATCH] fixed python3 compat issue --- helpdesk/views/staff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index e3df2434..dc9252fd 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -883,7 +883,7 @@ def ticket_list(request): import json from helpdesk.lib import b64encode - urlsafe_query = b64encode(json.dumps(query_params)) + urlsafe_query = b64encode(json.dumps(query_params).encode('UTF-8')) user_saved_queries = SavedSearch.objects.filter(Q(user=request.user) | Q(shared__exact=True))