fix NameError in cli_whitelist_remove
This commit is contained in:
parent
017363ecd5
commit
fbe5746a18
|
@ -397,7 +397,7 @@ def cli_whitelist_remove(instance):
|
||||||
app.config.save()
|
app.config.save()
|
||||||
|
|
||||||
if app.config.whitelist_enabled:
|
if app.config.whitelist_enabled:
|
||||||
if app.database.del_inbox(inbox):
|
if app.database.del_inbox(instance):
|
||||||
app.database.save()
|
app.database.save()
|
||||||
|
|
||||||
click.echo(f'Removed instance from the whitelist: {instance}')
|
click.echo(f'Removed instance from the whitelist: {instance}')
|
||||||
|
|
Loading…
Reference in a new issue