diff --git a/yunohost_firewall.py b/yunohost_firewall.py index 8663bfc9..8c53a37b 100644 --- a/yunohost_firewall.py +++ b/yunohost_firewall.py @@ -202,9 +202,9 @@ def add_portmapping(protocol=None, upnp=False, ipv6=None, mode=None,): None """ if ipv6: - os.system _("ip6tables -P INPUT ACCEPT") + os.system("ip6tables -P INPUT ACCEPT") else: - os.system _("iptables -P INPUT ACCEPT") + os.system("iptables -P INPUT ACCEPT") if upnp and mode == 'a': remove_portmapping()