From edf834011022d5c0cb7e3e2508cf3867988dfe90 Mon Sep 17 00:00:00 2001 From: bnnm Date: Sat, 23 Nov 2019 20:57:32 +0100 Subject: [PATCH] Allow LF in commands --- cli/txtp_segmenter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/txtp_segmenter.py b/cli/txtp_segmenter.py index e7fdf291..22d82a1a 100644 --- a/cli/txtp_segmenter.py +++ b/cli/txtp_segmenter.py @@ -138,7 +138,7 @@ def main(): if args.command_volume: ftxtp.write("commands = #@volume " + args.command_volume + "\n") if args.command: - ftxtp.write(args.command + "\n") + ftxtp.write(args.command.replace("\\n", "\n") + "\n") if __name__ == "__main__":