Commit 7b914b9f authored by F. Gabriel Gosselin's avatar F. Gabriel Gosselin

Prevent None being converted to string and causing confirmation pop-up

parent 340af0b5
......@@ -56,7 +56,9 @@ class ActionsMixin(object):
text = unicode(text)
actions.append((name, text))
actions_confirmation[name] = unicode(self._actions_data[name][2])
confirmation = self._actions_data[name][2]
if confirmation:
actions_confirmation[name] = unicode(confirmation)
return actions, actions_confirmation
......
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