Bordfodboldrating

Ratingliste Liga Lomax Indberet resultat Graf Kampoversigt Opret spiller Opret hold
--> -->
 
 
TypeError
Python 3.4.4: C:\xampp\Python34\python.exe
Tue Dec 29 18:16:08 2020

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 C:\Inetpub\ulrikweb\bordfodbold\cgi-bin\playerrating.py in ()
     33 c.execute('SELECT muchange FROM ratinghistory WHERE playerid=? LIMIT 1 OFFSET (SELECT COUNT(*) FROM ratinghistory WHERE playerid=?)-1;', (player, player,))
     34 muchange = c.fetchone()[0]
=>   35 if muchange > 0:
     36         muchangearrow = "<font color='green'>&#x25B2;%.0f</font>" % muchange
     37 elif muchange == 0:
muchange = None

TypeError: unorderable types: NoneType() > int()
      args = ('unorderable types: NoneType() > int()',)
      with_traceback = <built-in method with_traceback of TypeError object>