Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuskarotkis committed Sep 17, 2021
1 parent ea10af4 commit a86ca53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intelmq/bots/outputs/bro_file/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def open_file(self, filename: str = None):
self.logger.exception('Directory %r could not be created.', path)
self.stop()
else:
self._file = open(filename, mode='a+t', encoding='utf-8', errors=self.errors)
self._file = open(filename, mode='a+t', encoding='utf-8', errors=self.encoding_errors_mode)
self.add_bro_header()

def add_bro_header(self):
Expand Down

0 comments on commit a86ca53

Please sign in to comment.