From 31ac4d72d43498f41d94b5f0fc5a883b93e3b48c Mon Sep 17 00:00:00 2001 From: kload Date: Sat, 25 Oct 2014 20:20:31 +0200 Subject: [PATCH] [fix] typo --- tools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools.py b/tools.py index 31bf27b2..2b13c714 100644 --- a/tools.py +++ b/tools.py @@ -212,7 +212,7 @@ def tools_postinstall(domain, password, ignore_dyndns=False): Keyword argument: domain -- YunoHost main domain - dyndns -- Subscribe domain to a DynDNS service + ignore_dyndns -- Do not subscribe domain to a DynDNS service password -- YunoHost admin password """ @@ -221,6 +221,8 @@ def tools_postinstall(domain, password, ignore_dyndns=False): from yunohost.app import app_ssowatconf from yunohost.firewall import firewall_upnp, firewall_reload + dyndns = not ignore_dyndns + try: with open('/etc/yunohost/installed') as f: pass except IOError: