From: Antonio Ospite Date: Mon, 14 Dec 2015 17:31:44 +0000 (+0100) Subject: MorseTranslator.py: remove unneeded code in sanitize_morse() X-Git-Url: https://git.ao2.it/SaveMySugar/python3-savemysugar.git/commitdiff_plain/8fc5baa85b3b0754f2999c065d06c78439c6fd4e?ds=inline;hp=8fc5baa85b3b0754f2999c065d06c78439c6fd4e 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. ---