From 26aa9f6db7085439b4acf429660bd9e8b7976332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Wed, 24 Mar 2021 12:13:26 +0100 Subject: [PATCH] Enhaced "wolURL" check --- server/src/uds/services/PhysicalMachines/provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/uds/services/PhysicalMachines/provider.py b/server/src/uds/services/PhysicalMachines/provider.py index c71b5e1dd..3cd088155 100644 --- a/server/src/uds/services/PhysicalMachines/provider.py +++ b/server/src/uds/services/PhysicalMachines/provider.py @@ -96,7 +96,7 @@ class PhysicalMachinesProvider(services.ServiceProvider): offers = [IPMachinesService, IPSingleMachineService] def wolURL(self, ip: str): - if not self.config.value: + if not self.config.value or not ip: return '' url = ''