Unverified Commit 2222740f authored by dhansmair's avatar dhansmair Committed by GitHub
Browse files

change strings to f-strings in image_processing_utils.py (#20865)

change strings to f-strings
parent 829e8894
...@@ -509,8 +509,8 @@ def get_size_dict( ...@@ -509,8 +509,8 @@ def get_size_dict(
if not isinstance(size, dict): if not isinstance(size, dict):
size_dict = convert_to_size_dict(size, max_size, default_to_square, height_width_order) size_dict = convert_to_size_dict(size, max_size, default_to_square, height_width_order)
logger.info( logger.info(
"{param_name} should be a dictionary on of the following set of keys: {VALID_SIZE_DICT_KEYS}, got {size}." f"{param_name} should be a dictionary on of the following set of keys: {VALID_SIZE_DICT_KEYS}, got {size}."
" Converted to {size_dict}.", f" Converted to {size_dict}.",
) )
else: else:
size_dict = size size_dict = size
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment