diff --git a/weboob/core/bcall.py b/weboob/core/bcall.py index 28fd0c35..e74b96e1 100644 --- a/weboob/core/bcall.py +++ b/weboob/core/bcall.py @@ -99,7 +99,7 @@ class BackendsCall(object): else: debug('%s: Called function %s returned: %r' % (backend, function, result)) - if hasattr(result, '__iter__'): + if hasattr(result, '__iter__') and not isinstance(result, (str,unicode)): # Loop on iterator try: for subresult in result: