Skip to content

Commit

Permalink
fix: exception text (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreLeveau committed Jul 23, 2024
1 parent cf97d09 commit 06485e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kili/services/asset_import/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def import_assets( # pylint: disable=too-many-arguments
importer_params = (kili, project_params, processing_params, logger_params)

if input_type not in importer_by_type:
raise NotImplementedError(f"There is no imported for the input type: {input_type}")
raise NotImplementedError(f"There is no importer for the input type: {input_type}")
if input_type != "IMAGE" and any(asset.get("multi_layer_content") for asset in assets):
raise ImportValidationError(
f"Import of multi-layer assets is not supported for input type: {input_type}"
Expand Down

0 comments on commit 06485e7

Please sign in to comment.