Skip to content

Commit 5d772df

Browse files
committed
fixup: smtp_batch: make compatible with introduction of bot_id
bot_id as property was introduced in #2509 which broke the output bot This closes #2666.
1 parent a18d184 commit 5d772df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intelmq/bots/outputs/smtp_batch/output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def run(cls, parsed_args=None):
136136

137137
if parsed_args.cli:
138138
instance = cls(parsed_args.bot_id)
139-
[setattr(instance, k, v) for k, v in vars(parsed_args).items()]
139+
[setattr(instance, k, v) for k, v in vars(parsed_args).items() if k != "bot_id"]
140140
instance.cli_run()
141141
else:
142142
super().run(parsed_args=parsed_args)

0 commit comments

Comments
 (0)