Skip to content

Commit 420b7ec

Browse files
committed
[processing] removed incompatible basestring check
1 parent b85b5e7 commit 420b7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/core/parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def tr(self, string, context=''):
178178
def wrapper(self, dialog, row=0, col=0):
179179
wrapper = self.metadata.get('widget_wrapper', None)
180180
# wrapper metadata should be a class path
181-
if isinstance(wrapper, basestring):
181+
if isinstance(wrapper, str):
182182
tokens = wrapper.split('.')
183183
mod = __import__('.'.join(tokens[:-1]), fromlist=[tokens[-1]])
184184
wrapper = getattr(mod, tokens[-1])

0 commit comments

Comments
 (0)