mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-04-03 20:24:33 -04:00
reimplement usage of IdentMap
This commit is contained in:
parent
216bedc38f
commit
ac305b3873
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Clients(MutableMapping):
|
|||
return iter(self.store.values())
|
||||
|
||||
def __getitem__(self, key):
|
||||
return self.store[key]
|
||||
return self.store[self.ident_map.get(key, key)]
|
||||
|
||||
def __delitem__(self, key):
|
||||
del self.store[key]
|
||||
|
|
Loading…
Add table
Reference in a new issue