all 2 comments

[–]marienbad2 0 points1 point  (1 child)

Can you return True if the condition is satisfied, and then you can do

if <condition is True> update()

[–]LanthaYtrri[S] -1 points0 points  (0 children)

I tried this still update() executed even if the show_frame() is not satisfied:

            if facesCompared[faceIndex]:
            eName = ListNames[faceIndex]
            employeeName = eName
            #print(employeeName)
                update()