fix: add support for 'plugin' command in CLI

This commit is contained in:
Théophile Diot 2024-11-26 15:10:01 +01:00
parent 5b759e8fe6
commit d7ef17eb27
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -71,7 +71,7 @@ if __name__ == "__main__":
ret, err = cli.ban(args.ip, args.exp, args.reason)
elif args.command == "bans":
ret, err = cli.bans()
else:
elif args.command == "plugin":
if args.debug:
logger.setLevel("DEBUG")