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):
            game_Area.click(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

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

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 :
#2

Thanks RaiMan, that solved my question.