From 335146a9702a878a869d4a5f1b34af87eb68290e Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Sat, 26 Nov 2022 23:01:18 -0500 Subject: [PATCH] fix NameError in cli_setup --- relay/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/manage.py b/relay/manage.py index 0429461..b805a56 100644 --- a/relay/manage.py +++ b/relay/manage.py @@ -38,7 +38,7 @@ def cli_setup(): while True: 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 click.echo('The domain must not be example.com')