From: Thorsten S Date: Wed, 19 Dec 2018 17:53:35 +0000 (+0100) Subject: fix error message X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=efafdff3ce9087c64fd6bdea9c4c130944f0e31e;p=urlbot-v3.git fix error message --- diff --git a/distbot/plugins/basic.py b/distbot/plugins/basic.py index 1376274..6af2892 100644 --- a/distbot/plugins/basic.py +++ b/distbot/plugins/basic.py @@ -199,7 +199,7 @@ class Choose(Worker): words.pop(0) # remove sudo from args sudoers = conf_get('sudoers') or [] if sender not in sudoers: - return Action(msg="{} is not in the sudoers file. This incident will be reported.") + return Action(msg="{} is not in the sudoers file. This incident will be reported.".format(sender)) alternatives = words[1:] logger.debug("Alternatives: %s", str(alternatives))