Commit d9d062e5 authored by Romain Courteaud's avatar Romain Courteaud

Do not use unicode.

parent 7384823f
...@@ -106,7 +106,7 @@ for base_category in computer_base_category_list:\n ...@@ -106,7 +106,7 @@ for base_category in computer_base_category_list:\n
if base_category in filter_kw:\n if base_category in filter_kw:\n
category_relative_url = "%s" % filter_kw.pop(base_category)\n category_relative_url = "%s" % filter_kw.pop(base_category)\n
# XXX Small protection to prevent entering strange strings\n # XXX Small protection to prevent entering strange strings\n
category = context.getPortalObject().portal_categories[base_category].restrictedTraverse(category_relative_url, None)\n category = context.getPortalObject().portal_categories[base_category].restrictedTraverse(str(category_relative_url), None)\n
if category is None:\n if category is None:\n
query_kw["uid"] = "-1"\n query_kw["uid"] = "-1"\n
else:\n else:\n
......
474 475
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment