Pylint + Fix initial setup for fresh installs

This commit is contained in:
angelblue05 2016-09-04 22:33:34 -05:00
parent d36bb3d232
commit 3d31568518
13 changed files with 37 additions and 45 deletions

View file

@ -58,7 +58,7 @@ class Service(object):
def __init__(self):
self.clientInfo = clientinfo.ClientInfo()
self.addonName = self.clientInfo.getAddonName()
self.addonName = self.clientInfo.get_addon_name()
logLevel = settings('logLevel')
self.monitor = xbmc.Monitor()
@ -68,9 +68,9 @@ class Service(object):
# Initial logging
log.warn("======== START %s ========" % self.addonName)
log.warn("Python Version: %s", sys.version)
log.warn("Platform: %s" % (self.clientInfo.getPlatform()))
log.warn("Platform: %s" % (self.clientInfo.get_platform()))
log.warn("KODI Version: %s" % xbmc.getInfoLabel('System.BuildVersion'))
log.warn("%s Version: %s" % (self.addonName, self.clientInfo.getVersion()))
log.warn("%s Version: %s" % (self.addonName, self.clientInfo.get_version()))
log.warn("Using plugin paths: %s" % (settings('useDirectPaths') == "0"))
log.warn("Log Level: %s" % logLevel)