fix NameError in cli_setup

This commit is contained in:
Izalia Mae 2022-11-26 23:01:18 -05:00
parent 27914a7d27
commit 335146a970

View file

@ -38,7 +38,7 @@ def cli_setup():
while True: while True:
app.config.host = click.prompt('What domain will the relay be hosted on?', default=app.config.host) app.config.host = click.prompt('What domain will the relay be hosted on?', default=app.config.host)
if not config.host.endswith('example.com'): if not app.config.host.endswith('example.com'):
break break
click.echo('The domain must not be example.com') click.echo('The domain must not be example.com')