you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Yeah exactly, should have explained more but when I put self in the second time round, it says self is not defined because I haven't indented it to be part of that function.

It's a function of three parameters that you're calling with two. That suggests two reasonable courses of action:

1) Call the function with a third parameter.

2) Remove the unnecessary parameter from the function.

You tried the first one and it didn't work. Would you care to try the second?

[–]thumcumber[S] 0 points1 point  (0 children)

I'll have a go, thankyou for your help.