mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
Fix typo in dns_update.py.
This commit is contained in:
parent
92c7815d2c
commit
d5efb05f31
@ -239,7 +239,7 @@ def get_custom_records(domain, additional_records, env):
|
|||||||
if isinstance(value, str):
|
if isinstance(value, str):
|
||||||
values = [("A", value)]
|
values = [("A", value)]
|
||||||
if value == "local" and env.get("PUBLIC_IPV6"):
|
if value == "local" and env.get("PUBLIC_IPV6"):
|
||||||
values.appnd( ("AAAA", value) )
|
values.append( ("AAAA", value) )
|
||||||
|
|
||||||
# A mapping creates multiple records.
|
# A mapping creates multiple records.
|
||||||
elif isinstance(value, dict):
|
elif isinstance(value, dict):
|
||||||
|
Loading…
Reference in New Issue
Block a user