Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from chadoe/master

fix loading on non-ascii profile paths (windows)
  • Loading branch information...
commit 82cb5cc310d5431bbe243c55075321f1d1ba863f 2 parents d1a62fa + 4648130
@amet authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 weather.worldweatheronline/default.py
View
4 weather.worldweatheronline/default.py
@@ -29,8 +29,8 @@
__author__ = __addon__.getAddonInfo('author')
__language__ = __addon__.getLocalizedString
-__profile__ = xbmc.translatePath( __addon__.getAddonInfo('profile') )
-__resource__ = xbmc.translatePath( os.path.join( __cwd__, 'resources', 'lib' ) )
+__profile__ = xbmc.translatePath( __addon__.getAddonInfo('profile') ).decode("utf-8")
+__resource__ = xbmc.translatePath( os.path.join( __cwd__, 'resources', 'lib' ) ).decode("utf-8")
sys.path.append (__resource__)
Please sign in to comment.
Something went wrong with that request. Please try again.