From 89d55b8b60420888a7c4f5f399cda0b41d777c7e Mon Sep 17 00:00:00 2001 From: Croneter Date: Thu, 5 Jul 2018 12:52:02 +0200 Subject: [PATCH] Fix hard PKC not working (OSError: no such file) --- resources/lib/variables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/variables.py b/resources/lib/variables.py index 685873c4..bcbd18a6 100644 --- a/resources/lib/variables.py +++ b/resources/lib/variables.py @@ -37,7 +37,7 @@ ADDON_ID = 'plugin.video.plexkodiconnect' ADDON_VERSION = _ADDON.getAddonInfo('version') ADDON_PATH = try_decode(_ADDON.getAddonInfo('path')) ADDON_FOLDER = try_decode(xbmc.translatePath('special://home')) -ADDON_PROFILE = try_decode(_ADDON.getAddonInfo('profile')) +ADDON_PROFILE = try_decode(xbmc.translatePath(_ADDON.getAddonInfo('profile'))) KODILANGUAGE = xbmc.getLanguage(xbmc.ISO_639_1) KODIVERSION = int(xbmc.getInfoLabel("System.BuildVersion")[:2])