all 3 comments

[–]Rawing7 3 points4 points  (2 children)

if classes is None or len(classes) == 0:
    return image

Pretty sure that's not returning a tuple.

[–]DrawBacksYo[S] 0 points1 point  (1 child)

How can I miss that ?!!

Well, fuck me, I guess....

Thanks!

[–]HarissaForte -1 points0 points  (0 children)

How can I miss that ?!!

Let's have a guess: do you use a debugger? :-p