Merge pull request #3377 from kived/webdebugger-fix

fix webdebugger
This commit is contained in:
Ryan Pessa 2015-05-20 15:21:32 -05:00
commit 8c0c63ffad
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, [])))