Skip to content

Commit

Permalink
More future proof solution to get to the addon data folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-blobby committed Feb 1, 2011
1 parent 3605df9 commit b3e2f91
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
from utilities import log

_ = sys.modules[ "__main__" ].__language__
__cwd__ = sys.modules[ "__main__" ].__cwd__
__settings__ = sys.modules[ "__main__" ].__settings__
apiurl = "http://api.bierdopje.com/"
apikey = "369C2ED4261DE9C3"
showids_filename = os.path.join( xbmc.translatePath( "special://profile/" ), "addon_data", os.path.basename( __cwd__ ),"bierdopje_show_ids.txt" )
showids_filename = os.path.join( __settings__.getAddonInfo('profile') ,"bierdopje_show_ids.txt" )

#====================================================================================================================
# Functions
Expand Down

0 comments on commit b3e2f91

Please sign in to comment.