mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix edge case where var would get undefined..
This commit is contained in:
parent
68e2d01a85
commit
b7bea608f6
1 changed files with 3 additions and 0 deletions
|
@ -238,6 +238,9 @@ def tools_postinstall(
|
||||||
|
|
||||||
# If this is a nohost.me/noho.st, actually check for availability
|
# If this is a nohost.me/noho.st, actually check for availability
|
||||||
if not ignore_dyndns and is_yunohost_dyndns_domain(domain):
|
if not ignore_dyndns and is_yunohost_dyndns_domain(domain):
|
||||||
|
|
||||||
|
available = None
|
||||||
|
|
||||||
# Check if the domain is available...
|
# Check if the domain is available...
|
||||||
try:
|
try:
|
||||||
available = _dyndns_available(domain)
|
available = _dyndns_available(domain)
|
||||||
|
|
Loading…
Add table
Reference in a new issue