• Patrick's avatar
    image_processor.py: Fixed an error in ValueError's message (#8447) · 0a1c13af
    Patrick authored
    
    
    * image_processor.py: Fixed an error in ValueError's message , as the string's join method tried to join types, instead of strings
    
    Bug that occurred:
    
    f"Input is in incorrect format. Currently, we only support {', '.join(supported_formats)}"
    TypeError: sequence item 0: expected str instance, type found
    
    * Fixed: C417 Unnecessary `map` usage (rewrite using a generator expression)
    
    ---------
    Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
    0a1c13af
image_processor.py 44.2 KB