When I run the program, there is a prompt box "Delete images on save"

Asked by Chaoyang Shi

The message of this prompt box is "Orphan string delimiter("or"), in line 45, No images will be deleted! Correct the problem before next save! “

--------My line 45 code --------
for x in range(4): #Line 45
        if game_Area.exists(OK_L):

--------This string of code of mine has the same prompt box--------
img_name = "_dragm"

Why this is, I don't understand, but they do not affect the operation of the program

Question information

English Edit question
SikuliX Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :

In some line before the one mentioned there is a comment line that has an uneven count of " or ' (string delimiters)

Revision history for this message
Chaoyang Shi (elementary-student) said :

Thanks RaiMan, that solved my question.