fixed bug of quotations being removed

This commit is contained in:
kaiyuran 2024-11-12 20:12:47 -05:00
parent dc8c4eda26
commit 5c0e08ae9c
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
test.py

4
app.py
View file

@ -176,8 +176,8 @@ def emojify(message):
"summer": "🍉", "summer": "🍉",
} }
message = message.replace('"', "") message = message.strip('"')
message = message.replace("'", "") message = message.strip("'")
finalMessage = [] finalMessage = []
print("message is:",message) print("message is:",message)
message = message.split(" ") message = message.split(" ")