> Unindent the 'if' statement. Currently, it's indented inside the class
> definition, so MyApp isn't defined yet.

Thanks very much. That fixed it.

Best regards

David
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to