From d1dbed04a0e886945c6391c7ba6a2abee6336fa4 Mon Sep 17 00:00:00 2001 From: o2 Date: Tue, 13 Aug 2024 19:08:57 +0900 Subject: [PATCH] restore single quote then it looks working --- sshuttle/ssh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sshuttle/ssh.py b/sshuttle/ssh.py index d4451f5..8240631 100644 --- a/sshuttle/ssh.py +++ b/sshuttle/ssh.py @@ -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())