From 63191c0a8801f20f69291555f946e495ddbf5bc9 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 20 Dec 2020 13:24:55 +0100 Subject: [PATCH] Remove $ that is not needed in python... --- uncloud_net/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncloud_net/tasks.py b/uncloud_net/tasks.py index 81be402..ee72cbc 100644 --- a/uncloud_net/tasks.py +++ b/uncloud_net/tasks.py @@ -40,7 +40,7 @@ def cdist_configure_wireguard_server(config, server): fd.write(config) - subprocess.run(f"cd ${dirname} && git pull && git add {server} && git commit -m 'Updating config for ${server}' && git push", + subprocess.run(f"cd {dirname} && git pull && git add {server} && git commit -m 'Updating config for ${server}' && git push", shell=True) subprocess.run(f"cdist config -vv {server}", shell=True)