Commit 2f2deb60 authored by Jack Jansen's avatar Jack Jansen

Oops, interaction() returned a single value in stead of a tuple (I thought...

Oops, interaction() returned a single value in stead of a tuple (I thought that bug was loooong fixed??!?).
parent 74006864
......@@ -112,11 +112,10 @@ class radio:
def interact(scriptname):
if PPC_ONLY:
return 'pwpc'
return 'pwpc', 1
d = Dlg.GetNewDialog(DLG_ID, -1)
if not d:
print "Can't get DLOG resource with id =", DLG_ID
return
raise "Can't get DLOG resource with id =", DLG_ID
d.SetDialogDefaultItem(OK_BUTTON)
d.SetDialogCancelItem(CANCEL_BUTTON)
Dlg.ParamText(scriptname, "", "", "")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment