TypeError | Python 3.9.23: /usr/bin/python3 Mon Aug 25 19:40:29 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> |
81 cursor.execute(sql) |
82 row = cursor.fetchone() |
=> 83 player_proteam = row[0] |
84 |
85 print('''<div style="background-color:none;padding-top:90px;padding-bottom:8px;width:100%;font-family:'Roboto Condensed',sans-serif;font-size:14px;text-align:center;">''') |
player_proteam = 'Mia', row = None |
TypeError: 'NoneType' object is not subscriptable
args =
("'NoneType' object is not subscriptable",)
with_traceback =
<built-in method with_traceback of TypeError object>