Skip to content

Commit

Permalink
Fix unicode issue with removals
Browse files Browse the repository at this point in the history
  • Loading branch information
kcrawford committed Jul 16, 2016
1 parent 6602531 commit 9a485a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/dockutil
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,8 @@ def addItem(pl, add_path, replace_label=None, position=None, before_item=None, a

def removeItem(pl, item_name):
removal_succeeded = False
if item_name == "all":
item_name = item_name.decode('utf-8')
if item_name == u'all':
verboseOutput('Removing all items')
pl['persistent-apps'] = []
pl['persistent-others'] = []
Expand Down

0 comments on commit 9a485a6

Please sign in to comment.