Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
change addon path translation method, fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
hubsif committed Oct 2, 2015
1 parent edc096d commit 6e00249
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="plugin.video.tk_bbl" name="Telekom Basketball" version="1.1.0" provider-name="hubsif">
<addon id="plugin.video.tk_bbl" name="Telekom Basketball" version="1.1.1" provider-name="hubsif">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
</requires>
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.1.1 (2015/10/02)
- change addon path translation method

1.1.0 (2015/05/10)
- use mechanize only where needed
- show all related videos of past games
Expand Down
2 changes: 1 addition & 1 deletion default.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
_addon_name = _addon.getAddonInfo('name')
_addon_handler = int(sys.argv[1])
_addon_url = sys.argv[0]
_addon_path = _addon.getAddonInfo('path').decode(sys.getfilesystemencoding())
_addon_path = xbmc.translatePath(_addon.getAddonInfo("path") )
__language__ = _addon.getLocalizedString

sys.path.append(os.path.join(_addon_path, 'resources', 'lib'))
Expand Down

0 comments on commit 6e00249

Please sign in to comment.