From 6474b89e2dca1abff79ad385992d2302ce033e93 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 8 Apr 2020 22:27:21 +0200 Subject: wireguard: T2244: fix writing PSK --- src/conf_mode/interfaces-wireguard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/interfaces-wireguard.py') diff --git a/src/conf_mode/interfaces-wireguard.py b/src/conf_mode/interfaces-wireguard.py index 4ff9f1395..8a44fe5e7 100755 --- a/src/conf_mode/interfaces-wireguard.py +++ b/src/conf_mode/interfaces-wireguard.py @@ -295,7 +295,7 @@ def apply(wg): if peer['psk']: psk_file = '/config/auth/wireguard/psk' with open(psk_file, 'w') as f: - f.write(peer['psk'])) + f.write(peer['psk']) w.config['psk'] = psk_file w.update() -- cgit v1.2.3