0

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 ?

Community
  • 1
  • 1
Caporeira
  • 49
  • 3
  • 8

1 Answers1

1

def view_splash(arg1): is inside a class so you should use the staticmethod decorator

@staticmethod
def view_splash(arg1):
aspotic
  • 76
  • 4