From 68c0aee1ea3f647b89de33c999ac786b77c2826c Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 24 Jul 2016 16:10:29 -0500 Subject: [PATCH] Fix logging Forgot to change actual log lines --- contextmenu.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contextmenu.py b/contextmenu.py index 5235188e..ac1551db 100644 --- a/contextmenu.py +++ b/contextmenu.py @@ -56,7 +56,7 @@ if __name__ == '__main__': elif xbmc.getCondVisibility("Container.Content(pictures)"): itemType = "picture" else: - log("ItemType is unknown.") + log.info("ItemType is unknown.") if (not kodiId or kodiId == "-1") and xbmc.getInfoLabel("ListItem.Property(embyid)"): itemId = xbmc.getInfoLabel("ListItem.Property(embyid)") @@ -73,7 +73,7 @@ if __name__ == '__main__': pass - log("Found ItemId: %s ItemType: %s" % (itemId, itemType), 1) + log.info("Found ItemId: %s ItemType: %s" % (itemId, itemType)) if itemId: dialog = xbmcgui.Dialog() @@ -163,11 +163,11 @@ if __name__ == '__main__': heading=lang(29999), line1=lang(33041)) if not resp: - log("User skipped deletion for: %s." % itemId, 1) + log.info("User skipped deletion for: %s." % itemId) delete = False if delete: - log("Deleting request: %s" % itemId, 0) + log.info("Deleting request: %s" % itemId) emby.deleteItem(itemId) xbmc.sleep(500)