Apr-02-2017, 10:32 PM
The code is only ever going to run if you make an instance:
req = Request()Note that the above won't work unless you get rid of all the parameters to __init__ as well as the code wavic recommended getting rid of.
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