Skip to content

Commit 5aab90b

Browse files
committed
Fixed a linting bug in the active shell code
1 parent ea30c31 commit 5aab90b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/Cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,9 @@ def ExecuteCMD(self, cmd, raise_error = False, return_output = False, on_cluster
412412
if on_cluster:
413413
cmd = self.sshcmd + " {} '{}'".format(self.hostname, cmd)
414414
if use_active_shell:
415-
cmd = "{ssh} {host} -t '{shell} --login -c \"echo {string}\"'".format(ssh = self.sshcmd,
415+
cmd = "{ssh} {host} -t '{shell} --login -c \"{command}\"'".format(ssh = self.sshcmd,
416416
host = self.hostname,
417-
string = parse_symbols(string),
417+
command = parse_symbols(cmd),
418418
shell = self.terminal)
419419

420420

0 commit comments

Comments
 (0)