TrigPSC: Fix for appending multiple pre/post-commands
Avoid duplicating delimiters (e.g. ';') in case the previous command was already terminated with the delimiter as this can lead to invalid Python syntax.
Avoid duplicating delimiters (e.g. ';') in case the previous command was already terminated with the delimiter as this can lead to invalid Python syntax.