From daede323ce4bf04cd4191d9ec4ce0239e4ec6d85 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 21 May 2020 19:19:14 +0200 Subject: pppoe: T2380: fix NameError: name 'intf' is not defined --- src/conf_mode/interfaces-pppoe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py index f58095f13..d58ce99cc 100755 --- a/src/conf_mode/interfaces-pppoe.py +++ b/src/conf_mode/interfaces-pppoe.py @@ -238,7 +238,7 @@ def apply(pppoe): if pppoe['disable']: # Dial PPPoE connection - call(f'systemctl restart ppp@{intf}.service'.format(**pppoe)) + call('systemctl restart ppp@{intf}.service'.format(**pppoe)) return None -- cgit v1.2.3