i have this function:
def check(user, number): for cartella in all_: if number in cartella: imgg = Image.open("layout {}.png"