From 451511cde7fd4a43328cd6d9f9b9deeb3aa89e8c Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sat, 18 Apr 2009 14:05:33 +0200 Subject: [PATCH] lol fail --- pyweb/mumble/mmobjects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyweb/mumble/mmobjects.py b/pyweb/mumble/mmobjects.py index e8e4b62..231356d 100644 --- a/pyweb/mumble/mmobjects.py +++ b/pyweb/mumble/mmobjects.py @@ -213,7 +213,7 @@ class mmPlayer( object ): # kept for compatibility to mmChannel (useful for traversal funcs) playerCount = property( lambda self: -1, None ); - id = property( lambda self: "player_%d"%self.id, None ); + id = property( lambda self: "player_%d"%self.userid, None ); def visit( self, callback, lvl = 0 ): callback( self, lvl );