From 08c3ea1a33b3ab14bd4282a3ad1ccf13a95f751c Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Mon, 15 Jun 2015 20:33:26 -0500 Subject: [PATCH] quick follow up --- service.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/service.py b/service.py index c7cf80ab..e57bf688 100644 --- a/service.py +++ b/service.py @@ -9,7 +9,7 @@ import xbmcaddon import xbmc import xbmcgui -addon_ = xbmcaddon.Addon(id='plugin.video.emby') +addon_ = xbmcaddon.Addon() addon_path = addon_.getAddonInfo('path').decode('utf-8') base_resource_path = xbmc.translatePath(os.path.join(addon_path, 'resources', 'lib')).decode('utf-8') sys.path.append(base_resource_path) @@ -246,7 +246,6 @@ class Service(): # If user reset library database. if WINDOW.getProperty('SyncInstallRunDone') == "false": - addon = xbmcaddon.Addon() addon.setSetting('SyncInstallRunDone', "false") if (self.newWebSocketThread != None):