GP | AB | R | H | B2 | B3 | HR | RBI | SB | CS | BB | K | E | AVG | OPS |
---|
TypeError | Python 3.9.21: /usr/bin/python3 Wed Apr 2 10:40:01 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/draftmatic/scripts/player.cgi in <module> | |||||||||||||||
109 row = cursor.fetchone() | |||||||||||||||
110 print("<table border=1><tr><th>GP</th><th>AB</th><th>R</th><th>H</th><th>B2</th><th>B3</th><th>HR</th><th>RBI</th><th>SB</th><th>CS</th><th>BB</th><th>K</th><th>E</th><th>AVG</th><th>OPS</th></tr>") | |||||||||||||||
=> 111 print("<tr><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td></tr></table>".format(*row)) | |||||||||||||||
112 | |||||||||||||||
113 if player_pos in ['QB','RB','WR', "TE"]: | |||||||||||||||
builtin print = <built-in function print>, "{} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | |
TypeError: str.format() argument after * must be an iterable, not NoneType
args =
('str.format() argument after * must be an iterable, not NoneType',)
with_traceback =
<built-in method with_traceback of TypeError object>