Browse Source

Fixed return with wrong datatype

master
Gijs de Heij 5 years ago
parent
commit
c96b0faf7a
  1. 2
      asciiWriter/wrap_single_line.py

2
asciiWriter/wrap_single_line.py

@ -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)

Loading…
Cancel
Save