Fixed return with wrong datatype
This commit is contained in:
parent
d36c520f03
commit
c96b0faf7a
@ -110,7 +110,7 @@ class TextWrapper(textwrap.TextWrapper):
|
|||||||
|
|
||||||
return indent + self.placeholder.lstrip(), ''.join(reversed(chunks))
|
return indent + self.placeholder.lstrip(), ''.join(reversed(chunks))
|
||||||
else:
|
else:
|
||||||
return '', []
|
return '', ''
|
||||||
|
|
||||||
def wrap_single_line (text, width=70, **kwargs):
|
def wrap_single_line (text, width=70, **kwargs):
|
||||||
w = TextWrapper(width=width, **kwargs)
|
w = TextWrapper(width=width, **kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user