mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Merge pull request #54 from oddstr13/pr-importorder-1
Make sure __base__ is the first place we look for packages.
This commit is contained in:
commit
51f968fb50
4 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'reso
|
|||
__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).decode('utf-8')
|
||||
|
||||
sys.path.insert(0, __libraries__)
|
||||
sys.path.append(__base__)
|
||||
sys.path.insert(0, __base__)
|
||||
|
||||
#################################################################################################
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'reso
|
|||
__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).decode('utf-8')
|
||||
|
||||
sys.path.insert(0, __libraries__)
|
||||
sys.path.append(__base__)
|
||||
sys.path.insert(0, __base__)
|
||||
|
||||
#################################################################################################
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'reso
|
|||
__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).decode('utf-8')
|
||||
|
||||
sys.path.insert(0, __libraries__)
|
||||
sys.path.append(__base__)
|
||||
sys.path.insert(0, __base__)
|
||||
|
||||
#################################################################################################
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'reso
|
|||
__libraries__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'libraries')).decode('utf-8')
|
||||
|
||||
sys.path.insert(0, __libraries__)
|
||||
sys.path.append(__base__)
|
||||
sys.path.insert(0, __base__)
|
||||
|
||||
#################################################################################################
|
||||
|
||||
|
|
Loading…
Reference in a new issue