mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-04-03 20:24:33 -04:00
use new-style class-definition
This commit is contained in:
parent
e7fc91229e
commit
e7cf036971
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ from tsstats.exceptions import InvalidLog
|
|||
logger = logging.getLogger('tsstats')
|
||||
|
||||
|
||||
class Clients:
|
||||
class Clients(object):
|
||||
|
||||
def __init__(self, ident_map={}):
|
||||
self.clients_by_id = {}
|
||||
|
@ -47,7 +47,7 @@ class Clients:
|
|||
yield uid_client
|
||||
|
||||
|
||||
class Client:
|
||||
class Client(object):
|
||||
|
||||
def __init__(self, identifier):
|
||||
# public
|
||||
|
|
Loading…
Add table
Reference in a new issue