Skip to content

Commit

Permalink
fix more pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Coleman committed Jun 20, 2024
1 parent 8a403e9 commit 0587d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirrulations-extractor/src/mirrextractor/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def update_stats():
# large, and a restart would try again. This ensures
# that the extraction is not attempted again when the
# extractor process is restarted (by Docker).
with open(output_path, 'w') as f:
with open(output_path, 'w', encoding='utf-8') as f:
pass
start_time = time.time()
Extractor.extract_text(complete_path, output_path)
Expand Down

0 comments on commit 0587d5f

Please sign in to comment.