mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-11-19 06:46:37 +00:00
New hybrid method
This commit is contained in:
parent
7f5084c62e
commit
ace50b34dc
279 changed files with 39526 additions and 19994 deletions
7
resources/lib/emby/helpers/__init__.py
Normal file
7
resources/lib/emby/helpers/__init__.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
def has_attribute(obj, name):
|
||||
try:
|
||||
object.__getattribute__(obj, name)
|
||||
return True
|
||||
except AttributeError:
|
||||
return False
|
||||
Loading…
Add table
Add a link
Reference in a new issue