mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
__init__.py - remove __getitem__
This commit is contained in:
parent
520e8f6db2
commit
789e1856de
1 changed files with 1 additions and 6 deletions
|
@ -110,11 +110,6 @@ class Jellyfin(object):
|
||||||
def __getattr__(self, name):
|
def __getattr__(self, name):
|
||||||
return getattr(self.client[self.server_id], name)
|
return getattr(self.client[self.server_id], name)
|
||||||
|
|
||||||
@ensure_client()
|
|
||||||
def __getitem__(self, key):
|
|
||||||
LOG.debug("__getitem__(%r)", key)
|
|
||||||
return self.client[self.server_id][key]
|
|
||||||
|
|
||||||
def construct(self):
|
def construct(self):
|
||||||
|
|
||||||
self.client[self.server_id] = JellyfinClient()
|
self.client[self.server_id] = JellyfinClient()
|
||||||
|
|
Loading…
Reference in a new issue