mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Unused vars, unhappy linter gods
This commit is contained in:
parent
8728b2030c
commit
c4c353843c
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ def firewall_upnp(action="status", no_refresh=False):
|
||||||
logger.debug("discovering UPnP devices...")
|
logger.debug("discovering UPnP devices...")
|
||||||
try:
|
try:
|
||||||
nb_dev = upnpc.discover()
|
nb_dev = upnpc.discover()
|
||||||
except Exception as e:
|
except Exception:
|
||||||
logger.warning("Failed to find any UPnP device on the network")
|
logger.warning("Failed to find any UPnP device on the network")
|
||||||
nb_dev = -1
|
nb_dev = -1
|
||||||
enabled = False
|
enabled = False
|
||||||
|
|
Loading…
Add table
Reference in a new issue