Skip to content

Commit

Permalink
fix TypeError: normalize() argument 2 must be unicode, not None in ut…
Browse files Browse the repository at this point in the history
…ils.py
  • Loading branch information
taishi-i committed Jun 19, 2020
1 parent bd03fbe commit 76f94e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nagisa/utils.py
Expand Up @@ -39,8 +39,7 @@ def utf8rstrip(text):
None
else:
text = unicode(text, 'utf-8')
else:
return text.rstrip()
return text.rstrip()


def normalize(text):
Expand Down

0 comments on commit 76f94e2

Please sign in to comment.