Step through the __init__ function with the debugger. My first guess is that the attribute is not being assigned to after all, because your code leaves __init__ earlier than you think. Showing us the script would probably result in more helpful assistance. Alex. -- The chain of destiny can only be grasped one link at a time. -- Sir Winston Churchill