fix passing servername

This commit is contained in:
Maximilian Keßler 2023-04-04 22:26:42 +02:00
parent cf90c1f2ed
commit 152fe36797
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -14,7 +14,8 @@ def edit(filepath: Path, rootpath: Path = None, env=os.environ, servername='tex
TERMINAL, TERMINAL,
"-e", "-e",
EDITOR, EDITOR,
f"--servername {servername}", f"--servername",
f"{servername}",
f"--remote-silent", f"--remote-silent",
f"{str(filepath)}" f"{str(filepath)}"
], env=env, cwd=str(rootpath)) ], env=env, cwd=str(rootpath))