fix duplicate function name

graphs-n-shit
lza_menace 4 years ago
parent d7bc4f4546
commit b8d227b3c8

@ -132,7 +132,7 @@ def add_admin(username):
@app.cli.command("remove_admin")
@click.argument("username")
def add_admin(username):
def remove_admin(username):
m = Moderator.filter(username=username).first()
if m:
m.delete_instance()

Loading…
Cancel
Save