Skip to content

Commit

Permalink
Maybe better
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenrac committed Oct 7, 2018
1 parent aa40ea9 commit b701a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TextToOwo/owo.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def text_to_owo(text):

text = last_replace(text, '!', ' {}'.format(random.choice(smileys)))
text = last_replace(text, '?', '? owo')
text = last_replace(text, '...', '... UwU')
text = last_replace(text, '...', ' UwU')
text = last_replace(text, '.', '. {}'.format(random.choice(smileys)))
text = re.sub('\s\s+' , ' ', text)

Expand Down

0 comments on commit b701a47

Please sign in to comment.