Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
avdata99 committed Oct 11, 2024
1 parent c79373d commit a1671c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ckanext/datapusher_plus/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,12 @@ def _push_to_datastore(task_id, input, dry_run=False, temp_dir=None):
)
qsv_semver = qsv_version_info[
qsv_version_info.find(" "): qsv_version_info.find("-")].lstrip()
logger.info("qsv version found: {}".format(qsv_semver))

sniff_enabled = os.getenv("QSV_SNIFF_DELIMITER")
logger.info(f"qsv version found: {qsv_semver}. Sniff: {sniff_enabled}")
# HOTFIX, we failed to set the sniff delimiter env var
if not sniff_enabled:
os.environ["QSV_SNIFF_DELIMITER"] = "true"
try:
if semver.compare(qsv_semver, MINIMUM_QSV_VERSION) < 0:
raise utils.JobError(
Expand Down

0 comments on commit a1671c8

Please sign in to comment.