1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-13 13:17:54 +03:00

Enhaced "wolURL" check

This commit is contained in:
Adolfo Gómez García 2021-03-24 12:13:26 +01:00
parent 3f881b3e17
commit 26aa9f6db7

View File

@ -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 = ''