Correct path for deviceid

This commit is contained in:
angelblue05 2015-12-26 12:39:54 -06:00
parent 8d219b64b3
commit c125414991
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
#################################################################################################
import os
from uuid import uuid4
import xbmc
@ -74,7 +75,7 @@ class ClientInfo():
return clientId
addon_path = self.addon.getAddonInfo('path').decode('utf-8')
GUID_file = xbmc.translatePath("%s\machine_guid" % addon_path).decode('utf-8')
GUID_file = xbmc.translatePath(os.path.join(addon_path, "machine_guid")).decode('utf-8')
try:
GUID = open(GUID_file)