From b8d227b3c8a2a6b684bca3ff5c8fb9c31131f626 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 3 Dec 2020 23:21:23 -0800 Subject: [PATCH] fix duplicate function name --- suchwow/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suchwow/app.py b/suchwow/app.py index c91a053..f6d4afd 100644 --- a/suchwow/app.py +++ b/suchwow/app.py @@ -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()