mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update src/dns.py
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
This commit is contained in:
parent
273c10f17d
commit
ab37617f91
1 changed files with 2 additions and 1 deletions
|
@ -624,7 +624,8 @@ def _get_registar_settings(domain):
|
|||
|
||||
@is_unit_operation()
|
||||
def domain_dns_push(operation_logger, domains, dry_run=False, force=False, purge=False):
|
||||
if type(domains).__name__!="list": # If we provide only a domain as an argument
|
||||
# If we provide only a domain as an argument
|
||||
if isinstance(domains, str):
|
||||
domains = [domains]
|
||||
for domain in domains:
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue