diff options
author | Rechi <Rechi@users.noreply.github.com> | 2017-11-23 09:11:02 +0100 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2017-11-23 09:11:02 +0100 |
commit | 63e33f6b950f953ecd9d300e38732f97400ab868 (patch) | |
tree | fa7004cdb14325bbb2e3ce02b561c70382405286 /addons/metadata.demo.tv | |
parent | fb04819aeeade9bef07933682537a9645bd6005a (diff) |
[addons][python] metadata.demo.* replace print statement with print function
Diffstat (limited to 'addons/metadata.demo.tv')
-rw-r--r-- | addons/metadata.demo.tv/demo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/metadata.demo.tv/demo.py b/addons/metadata.demo.tv/demo.py index 0fd298198a..fa3dadca21 100644 --- a/addons/metadata.demo.tv/demo.py +++ b/addons/metadata.demo.tv/demo.py @@ -35,7 +35,7 @@ if action == 'find': except: pass - print 'Find TV show with title %s from year %i' %(title, int(year)) + print('Find TV show with title %s from year %i' %(title, int(year))) liz=xbmcgui.ListItem('Demo show 1', thumbnailImage='DefaultVideo.png', offscreen=True) liz.setProperty('relevance', '0.5') xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]), url="/path/to/show", listitem=liz, isFolder=True) @@ -99,7 +99,7 @@ elif action == 'getdetails': xbmcplugin.setResolvedUrl(handle=int(sys.argv[1]), succeeded=True, listitem=liz) elif action == 'getepisodelist': url=urllib.unquote_plus(params["url"]) - print 'in here yo ' + url + print('in here yo ' + url) if url == '/path/to/show/guide': liz=xbmcgui.ListItem('Demo Episode 1x1', offscreen=True) liz.setProperty('video.episode', '1') |