Skip to content

Commit

Permalink
- Replane null string fix with os.path.sep for compatibility across d…
Browse files Browse the repository at this point in the history
…ifferent OS platform
  • Loading branch information
martinrevert committed Jan 4, 2015
1 parent 78ac639 commit 1730029
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service.py
Expand Up @@ -24,7 +24,8 @@
__cwd__ = xbmc.translatePath(__addon__.getAddonInfo('path')).decode("utf-8")
__profile__ = xbmc.translatePath(__addon__.getAddonInfo('profile')).decode("utf-8")
__resource__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'lib')).decode("utf-8")
__temp__ = xbmc.translatePath(os.path.join(__profile__,'temp','')).decode("utf-8")
__temp__ = xbmc.translatePath(os.path.join(__profile__,'temp')).decode("utf-8")
__temp__ = __temp__ + os.path.sep

sys.path.append(__resource__)

Expand Down

0 comments on commit 1730029

Please sign in to comment.