From ae5468a2d3714a4762d3d03b359789d778b71a89 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 8 Apr 2016 16:12:41 +0200 Subject: [PATCH] When starting docker raise proper error if ubridge is not available Fix #484 --- gns3server/modules/base_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/modules/base_vm.py b/gns3server/modules/base_vm.py index e7ea4d4d0..b42930a57 100644 --- a/gns3server/modules/base_vm.py +++ b/gns3server/modules/base_vm.py @@ -403,7 +403,7 @@ class BaseVM: if path == "ubridge": path = shutil.which("ubridge") - if path is None: + if path is None or len(path) == 0: raise VMError("uBridge is not installed") return path