Unverified Commit fda12563 authored by amyeroberts's avatar amyeroberts Committed by GitHub
Browse files

Downgrade log warning -> info (#20202)

parent 36b063ed
...@@ -497,7 +497,7 @@ def get_size_dict( ...@@ -497,7 +497,7 @@ def get_size_dict(
elif isinstance(size, (tuple, list)) and not height_width_order: elif isinstance(size, (tuple, list)) and not height_width_order:
size_dict = {"height": size[1], "width": size[0]} size_dict = {"height": size[1], "width": size[0]}
logger.warning( logger.info(
"The size parameter should be a dictionary with keys ('height', 'width'), ('shortest_edge', 'longest_edge')" "The size parameter should be a dictionary with keys ('height', 'width'), ('shortest_edge', 'longest_edge')"
f" or ('shortest_edge',) got {size}. Setting as {size_dict}.", f" or ('shortest_edge',) got {size}. Setting as {size_dict}.",
) )
......
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