From c272bfebeb862548e90ddf8b8eafdc1ccb946105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aim=C3=A9?= Date: Wed, 13 Jan 2021 16:46:35 +0100 Subject: [PATCH] Update network.py --- server/frontend/app/classes/network.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/frontend/app/classes/network.py b/server/frontend/app/classes/network.py index 584e10b..d5da432 100644 --- a/server/frontend/app/classes/network.py +++ b/server/frontend/app/classes/network.py @@ -301,7 +301,9 @@ class Network(object): This enable interfaces, with a simple check. :return: bool if everything goes well """ - + sh = sp.Popen(["ifconfig", iface], + stdout=sp.PIPE, stderr=sp.PIPE) + sh = sh.communicate() if b"