make sure condition is valid

This commit is contained in:
VirtuBox
2019-04-16 00:01:09 +02:00
parent 5053218379
commit 2881510cf1

View File

@@ -1174,7 +1174,7 @@ class WOSiteUpdateController(CementBaseController):
data['wo_db_pass'] = check_site.db_password
data['wo_db_host'] = check_site.db_host
if not pargs.letsencrypt or pargs.hsts:
if not (pargs.letsencrypt or pargs.hsts):
try:
pre_run_checks(self)
except SiteError as e: