fix webdebugger

This commit is contained in:
Ryan Pessa 2015-05-20 15:20:42 -05:00
parent a6ea61bfb0
commit 0add9c26f3
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class FlaskThread(threading.Thread):
m['Python garbage'].append(len(garbage))
m['FPS (internal)'].append(Clock.get_fps())
m['FPS (real)'].append(Clock.get_rfps())
m['Events'].append(sum([len(x) for x in Clock._events.values()]))
m['Events'].append(sum([len(x) for x in Clock._events]))
for category in Cache._categories:
m['Cache ' + category].append(
len(Cache._objects.get(category, [])))