Skip to content

Commit

Permalink
Fix input when file already is UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Jan 25, 2024
1 parent c2ba7f0 commit 0f9ebc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datapusher/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,8 @@ def _push_to_datastore(task_id, input, dry_run=False, temp_dir=None):
"Job aborted as the file cannot be re-encoded to UTF-8: {}.".format(e)
)
return
else:
qsv_input_utf_8_encoded_csv = tmp
try:
subprocess.run(
[
Expand Down

0 comments on commit 0f9ebc2

Please sign in to comment.