From c6474c95f92588d7ac45576bf6b89519c3115923 Mon Sep 17 00:00:00 2001 From: Yannik Enss Date: Wed, 27 Feb 2019 00:18:58 +0100 Subject: [PATCH] continue rewrite --- xmpp_tg/xmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp_tg/xmpp.py b/xmpp_tg/xmpp.py index ae2e9a2..61bed70 100644 --- a/xmpp_tg/xmpp.py +++ b/xmpp_tg/xmpp.py @@ -271,7 +271,7 @@ class XMPPTelegram(ComponentXMPP): def _min_args(self, num_args): if len(self.arguments) < num_args: - raise WrongNumberOfArgumentsError("!{} needs at least {} arguments".format(self._command, num_args)) + raise WrongNumberOfArgsError("!{} needs at least {} arguments".format(self._command, num_args)) def __init__(self, msg): self._command = msg["body"].split(" ")[0][1:]