GP | AB | R | H | B2 | B3 | HR | RBI | SB | CS | BB | K | E | AVG | OPS |
---|
TypeError | Python 3.9.20: /usr/bin/python3 Sat Jan 11 12:58:36 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> | ||||||||||||||
106 row = cursor.fetchone() | ||||||||||||||
107 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>") | ||||||||||||||
=> 108 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)) | ||||||||||||||
109 | ||||||||||||||
110 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>