restore single quote then it looks working

This commit is contained in:
o2 2024-08-13 19:08:57 +09:00 committed by Brian May
parent dc2287ccf8
commit d1dbed04a0

View File

@ -115,8 +115,8 @@ def connect(ssh_cmd, rhostport, python, stderr, add_cmd_delimiter, remote_shell,
pyscript = r"""
import sys, os;
verbosity=%d;
stdin = os.fdopen(0, "rb");
exec(compile(stdin.read(%d), "assembler.py", "exec"));
stdin = os.fdopen(0, 'rb');
exec(compile(stdin.read(%d), 'assembler.py', 'exec'));
sys.exit(98);
""" % (helpers.verbose or 0, len(content))
pyscript = re.sub(r'\s+', ' ', pyscript.strip())