Fixed return with wrong datatype

This commit is contained in:
Gijs de Heij 2019-12-23 16:48:22 +01:00
parent d36c520f03
commit c96b0faf7a

View File

@ -110,7 +110,7 @@ class TextWrapper(textwrap.TextWrapper):
return indent + self.placeholder.lstrip(), ''.join(reversed(chunks))
else:
return '', []
return '', ''
def wrap_single_line (text, width=70, **kwargs):
w = TextWrapper(width=width, **kwargs)