Hier was my first question: Name 'xxx' is not defined
And after edit I have this error:
self.view_splash(0)
TypeError: view_splash() takes 1 positional argument but 2 were given
What do I need to do, to fix it ?
Hier was my first question: Name 'xxx' is not defined
And after edit I have this error:
self.view_splash(0)
TypeError: view_splash() takes 1 positional argument but 2 were given
What do I need to do, to fix it ?
def view_splash(arg1):
is inside a class so you should use the staticmethod decorator
@staticmethod
def view_splash(arg1):