fix NameError in cli_whitelist_remove

This commit is contained in:
Izalia Mae 2022-11-25 13:29:45 -05:00
parent 017363ecd5
commit fbe5746a18

View file

@ -397,7 +397,7 @@ def cli_whitelist_remove(instance):
app.config.save()
if app.config.whitelist_enabled:
if app.database.del_inbox(inbox):
if app.database.del_inbox(instance):
app.database.save()
click.echo(f'Removed instance from the whitelist: {instance}')