2015-05-16, 01:29
Change if CONFIRM to if dialog:
I dont know why you changed the name of the dialog. Also the CONFIRM="yes" makes no sense if you're asking the user. Dialog returns true if you click yes and false if you click no. The true false boolean is assigned to the variable dialog. Thats why you have the condition "if dialog:"
I dont know why you changed the name of the dialog. Also the CONFIRM="yes" makes no sense if you're asking the user. Dialog returns true if you click yes and false if you click no. The true false boolean is assigned to the variable dialog. Thats why you have the condition "if dialog:"