diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5890b09 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +test.py diff --git a/app.py b/app.py index 87335da..98969aa 100644 --- a/app.py +++ b/app.py @@ -176,8 +176,8 @@ def emojify(message): "summer": "🍉", } - message = message.replace('"', "") - message = message.replace("'", "") + message = message.strip('"') + message = message.strip("'") finalMessage = [] print("message is:",message) message = message.split(" ")