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:
Odd Stråbø 2019-08-19 10:00:16 +02:00 committed by GitHub
commit 51f968fb50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -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__)
#################################################################################################

View file

@ -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__)
#################################################################################################

View file

@ -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__)
#################################################################################################

View file

@ -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__)
#################################################################################################