Skip to content

Commit

Permalink
Fix one more case of tag encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Aug 17, 2018
1 parent dac763a commit 85f7694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/controllers/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def add_tag_async(self, trans, item_id=None, item_class=None, new_tag=None, cont
# Apply tag.
item = self._get_item(trans, item_class, trans.security.decode_id(item_id))
user = trans.user
self.get_tag_handler(trans).apply_item_tags(user, item, new_tag.encode('utf-8'))
self.get_tag_handler(trans).apply_item_tags(user, item, new_tag)
trans.sa_session.flush()
# Log.
params = dict(item_id=item.id, item_class=item_class, tag=new_tag)
Expand Down

0 comments on commit 85f7694

Please sign in to comment.