Skip to content

Commit

Permalink
unnecessary code deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
hmangukia committed Jul 16, 2018
1 parent d8bc394 commit 169d4fe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions windows/benji.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ def events(frame,put):
translated = translator.translate(rest, src='es', dest='en')
put = translated.text
link = put.split()
else:
link = put.split()

if put.startswith("french"):
elif put.startswith("french"):
word, space, rest = put.partition(' ')
translated = translator.translate(rest, src='fr', dest='en')
put = translated.text
Expand Down

0 comments on commit 169d4fe

Please sign in to comment.