diff --git a/tsstats/client.py b/tsstats/client.py index e8f49bf..7738ce0 100644 --- a/tsstats/client.py +++ b/tsstats/client.py @@ -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]