(self, image_list)
return ""
Find and return first file of list in dir
Find and return first file of list in dir
Find and return first file of list in dir
def find_file_in_dir(self, image_list):
        """Find and return first file of list in dir"""
        path_prefix = self.filename
        for image in image_list:
            image_path = path_prefix + "/" + image
            if os.path.exists(image_path):
                return image_path
        return ""
def find_file_in_dir ( self , image_list ) : path_prefix = self . filename for image in image_list : image_path = path_prefix + "/" + image if os . path . exists ( image_path ) : return image_path return ""