From 4fcd40c7453e8ee34278522976758139e67a93d7 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Mon, 20 Jan 2014 13:02:29 -0600 Subject: [PATCH] added version info to logs --- resources/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index bc1814a..2a94547 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -14,7 +14,7 @@ def openSettings(): __Addon.openSettings() def log(message,loglevel=xbmc.LOGNOTICE): - xbmc.log(encode(__addon_id__ + ": " + message),level=loglevel) + xbmc.log(encode(__addon_id__ + "-" + __Addon.getAddonInfo('version') + ": " + message),level=loglevel) def showNotification(message): xbmc.executebuiltin("Notification(" + encode(getString(30010)) + "," + encode(message) + ",4000," + xbmc.translatePath(__Addon.getAddonInfo('path') + "/icon.png") + ")")