Skip to content

Commit

Permalink
Merge pull request #132 from Zharktas/fix_input_when_file_already_is_…
Browse files Browse the repository at this point in the history
…utf-8

Fix input when file already is UTF-8.

Thanks @Zharktas !
  • Loading branch information
jqnatividad authored Jan 25, 2024
2 parents c2ba7f0 + 0f9ebc2 commit e86ebf5
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 e86ebf5

Please sign in to comment.