fixed typo on variable.

This commit is contained in:
David Edwards
2023-12-10 14:58:16 -07:00
parent ca57da12e5
commit 401be08fe9

View File

@@ -127,7 +127,7 @@ class WOSiteCreateController(CementBaseController):
proxyinfo = proxyinfo.split(':') proxyinfo = proxyinfo.split(':')
host = proxyinfo[0].strip() host = proxyinfo[0].strip()
port = '80' if len(proxyinfo) < 2 else proxyinfo[1].strip() port = '80' if len(proxyinfo) < 2 else proxyinfo[1].strip()
elif stype is None and not pargs.proxy and not pargs.alias and not pargs.subsiteofof: elif stype is None and not pargs.proxy and not pargs.alias and not pargs.subsiteof:
stype, cache = 'html', 'basic' stype, cache = 'html', 'basic'
elif stype is None and pargs.alias: elif stype is None and pargs.alias:
stype, cache = 'alias', '' stype, cache = 'alias', ''