mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-20 07:02:01 +02:00
Solved domain bug
This commit is contained in:
parent
c418399807
commit
4b824ecd6c
@ -93,8 +93,6 @@ class LookupModule(LookupBase):
|
|||||||
# Check if domain_url is a list. If so, select the first element.
|
# Check if domain_url is a list. If so, select the first element.
|
||||||
if isinstance(domain_url, list):
|
if isinstance(domain_url, list):
|
||||||
domain_url = domain_url[0]
|
domain_url = domain_url[0]
|
||||||
else:
|
|
||||||
domain_url = ""
|
|
||||||
|
|
||||||
# Construct the URL using the domain_url if available.
|
# Construct the URL using the domain_url if available.
|
||||||
url = "https://" + domain_url if domain_url else ""
|
url = "https://" + domain_url if domain_url else ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user