From 795a0001b4db0cb3cf229868da77ab68506e9d2e Mon Sep 17 00:00:00 2001 From: Rechi Date: Fri, 25 Jan 2019 12:09:44 +0100 Subject: [PATCH] [plugin.audio.lastfmtube] addon-check compliant --- plugin.audio.lastfmtube/addon.xml | 3 +-- plugin.audio.lastfmtube/default.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugin.audio.lastfmtube/addon.xml b/plugin.audio.lastfmtube/addon.xml index b0de28eb0..4d11a2374 100644 --- a/plugin.audio.lastfmtube/addon.xml +++ b/plugin.audio.lastfmtube/addon.xml @@ -13,9 +13,8 @@ The world's largest online music catalogue, powered by your scrobbles and paired with YouTube. all GNU GENERAL PUBLIC LICENSE. Version 3, June 2007 - https://github.com/Lunatixz/XBMC_Addons/tree/master/plugin.audio.lastfmtube + https://github.com/Lunatixz/KODI_Addons/tree/master/plugin.audio.lastfmtube https://forum.kodi.tv/showthread.php?tid=315688 - icon.png fanart.jpg diff --git a/plugin.audio.lastfmtube/default.py b/plugin.audio.lastfmtube/default.py index 31912a3f5..88c9e27a9 100644 --- a/plugin.audio.lastfmtube/default.py +++ b/plugin.audio.lastfmtube/default.py @@ -133,7 +133,7 @@ def mainMenu(self): def browseMenu(self, user, pwd): for item in MENULST: - print item + print(item) self.addDir(*item,**{'user':user,'pwd':pwd}) @@ -151,7 +151,7 @@ def loadJson(self, string): return {} try: return json.loads(uni(string)) - except Exception,e: + except Exception as e: return {}