Traceback (most recent call last): File "/var/www/tennisabstract/cgi-bin/tourney.cgi", line 528, in ''', (int(rdate),)) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'