Fix pylint error (Too many positional arguments for function call)