MorseTranslator.py: remove unneeded code in sanitize_morse()
authorAntonio Ospite <ao2@ao2.it>
Mon, 14 Dec 2015 17:31:44 +0000 (18:31 +0100)
committerAntonio Ospite <ao2@ao2.it>
Mon, 14 Dec 2015 17:31:44 +0000 (18:31 +0100)
commit8fc5baa85b3b0754f2999c065d06c78439c6fd4e
tree95ff136b9132f0206785f432102778ce97ec9a6c
parent475721658d2f3e83eb323e19fde9570e9ebdbd45
MorseTranslator.py: remove unneeded code in sanitize_morse()

The Morse string will never contain a '|' because it would have been
already replaced in a previous sanitization step.

Also we don't define anywhere that '|' can act as an alternative word
separator, so it should be replaced with a space just like any other
invalid character.
src/savemysugar/MorseTranslator.py