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:
parent
3f881b3e17
commit
26aa9f6db7
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user