mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Don't encode string, this is unnecessary and fails on python 3
This commit is contained in:
@@ -90,7 +90,6 @@ class TagsController(BaseUIController, UsesTagsMixin):
|
||||
user = trans.user
|
||||
item_class = self.get_class(item_class)
|
||||
q = '' if q is None else q
|
||||
q = q.encode('utf-8')
|
||||
if q.find(":") == -1:
|
||||
return self._get_tag_autocomplete_names(trans, q, limit, timestamp, user, item, item_class)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user