Skip to content

Commit

Permalink
Remove unused str
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Jun 23, 2023
1 parent 32a2a92 commit fcbbbe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ctranslate2/specs/model_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def _dtype_to_type_id(object_dtype):
except ValueError:
raise ValueError(
"%s is not in list of supported dtypes: %s"
% (str(object_dtype), ", ".join(dtypes))
% (object_dtype, ", ".join(dtypes))
)


Expand Down

0 comments on commit fcbbbe3

Please sign in to comment.