Skip to content

Commit 188609b

Browse files
author
Sebastian Wagner
committed
BUG: ctl debugger: fix parameter for outputappend
1 parent 31ec3a9 commit 188609b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

intelmq/lib/bot_debugger.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@ def _process(self, dryrun, msg, show):
138138

139139
if dryrun:
140140
self.instance.send_message = lambda *args, **kwargs: self.outputappend(
141-
"DRYRUN: Message would be sent now to %r!",
142-
kwargs.get('path', "_default"))
141+
"DRYRUN: Message would be sent now to %r!" % kwargs.get('path', "_default"))
143142
self.instance.acknowledge_message = lambda *args, **kwargs: self.outputappend(
144143
"DRYRUN: Message would be acknowledged now!")
145144
self.outputappend(" * Dryrun only, no message will be really sent through.")

0 commit comments

Comments
 (0)