Use break instead of return in wizard loop
This commit is contained in:
@@ -171,7 +171,7 @@ class Wizard(object):
|
||||
if dia:
|
||||
res = {'type': 'form'}
|
||||
else:
|
||||
return
|
||||
break
|
||||
else:
|
||||
if dia:
|
||||
dia.destroy()
|
||||
|
||||
Reference in New Issue
Block a user