From a8e62cea07cb5a532902a1a5fb466cfd3cd10bc6 Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Tue, 12 Feb 2008 16:24:10 +0000 Subject: [PATCH] No need to backslash the char '@' --- system/TestPlc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/TestPlc.py b/system/TestPlc.py index 97e9215..73bfae9 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -16,11 +16,11 @@ from TestKey import TestKey from TestSlice import TestSlice # inserts a backslash before each occurence of the following chars -# \ " ' < > & | ; ( ) $ * ~ @ +# \ " ' < > & | ; ( ) $ * ~ def backslash_shell_specials (command): result='' for char in command: - if char in "\\\"'<>&|;()$*~@": + if char in "\\\"'<>&|;()$*~": result +='\\'+char else: result +=char -- 2.47.0