TypeError: main() takes 0 positional arguments but 1 was given
def main(self):
Brackets plus self just fine