Skip to content

Commit

Permalink
Fix whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-certat authored and aaronkaplan committed Jul 25, 2024
1 parent 472bf47 commit 9037088
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion intelmq/lib/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ def _get_io_and_save_line_ending(self, raw: str) -> io.StringIO:
if not self._line_ending or isinstance(self._line_ending, tuple):
self._line_ending = '\r\n'
return data_io

def new_event(self, *args, **kwargs):
if self.copy_collector_provided_fields:
kwargs['copy_collector_provided_fields'] = self.copy_collector_provided_fields
Expand Down
2 changes: 1 addition & 1 deletion intelmq/lib/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def __init__(
template['rtir_id'] = message['rtir_id']
if 'time.observation' in message:
template['time.observation'] = message['time.observation']

if copy_collector_provided_fields:
for key in copy_collector_provided_fields:
if key not in message:
Expand Down

0 comments on commit 9037088

Please sign in to comment.