summaryrefslogtreecommitdiff
path: root/alfa
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-11-03 10:32:43 -0800
committerBen Sima <ben@bsima.me>2019-11-03 10:32:43 -0800
commitc336d051953f52b159cdccc4cecbf02627fb713b (patch)
treeaccdca879bc287660c9414f3e124bbbf957d68e3 /alfa
parentf5405c52476b626f4d6ed642e45ba0dbeab6d23c (diff)
fix alfa for uppercase input
Diffstat (limited to 'alfa')
-rwxr-xr-xalfa2
1 files changed, 1 insertions, 1 deletions
diff --git a/alfa b/alfa
index 8229aca..6f5130b 100755
--- a/alfa
+++ b/alfa
@@ -54,5 +54,5 @@ if __name__ == '__main__':
help='The text to translate.')
args = cli.parse_args()
text = " ".join(args.text)
- speech = " ".join([translate(c) for c in text])
+ speech = " ".join([translate(c) for c in text.lower()])
print('{}'.format(speech))