Update firewall.py

This commit is contained in:
abeudin 2014-05-17 18:54:54 +02:00
parent 61beb3b9b0
commit 22543aea00

View file

@ -248,7 +248,7 @@ def firewall_upnp(action=None):
if firewall['uPnP']['enabled'] == True:
msignals.display(m18n.n('upnp_active'), 'success')
else:
raise MoulinetteError(errno.EPERM,
raise MoulinetteError(errno.EADV,
m18n.n('upnp_inactive'))
if action: