mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 06:27:59 +00:00
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()
|
||||
|
||||
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}')
|
||||
|
|
Loading…
Reference in a new issue