Sep-04-2019, 01:33 PM
Is that your actual indentation? It looks like you are creating an instance of the class from the main method within the class. I could see doing that in certain cases, but here it seems very odd. Then you call that method from within the class definition. Definitely odd.
I wouldn't use type as an attribute name, as it can get confused with the built-in type function.
And please post the full text of the error you are getting.
I wouldn't use type as an attribute name, as it can get confused with the built-in type function.
And please post the full text of the error you are getting.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures