Skip to content
Permalink
Browse files

[processing] removed incompatible basestring check

  • Loading branch information
volaya committed Dec 1, 2016
1 parent b85b5e7 commit 420b7ec902f5b4f650c302a75487d812fd3913ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/core/parameters.py
@@ -178,7 +178,7 @@ def tr(self, string, context=''):
def wrapper(self, dialog, row=0, col=0):
wrapper = self.metadata.get('widget_wrapper', None)
# wrapper metadata should be a class path
if isinstance(wrapper, basestring):
if isinstance(wrapper, str):
tokens = wrapper.split('.')
mod = __import__('.'.join(tokens[:-1]), fromlist=[tokens[-1]])
wrapper = getattr(mod, tokens[-1])

0 comments on commit 420b7ec

Please sign in to comment.
You can’t perform that action at this time.