From 0653b793068945234fa5a358e1a2d3e6e354ccf0 Mon Sep 17 00:00:00 2001 From: Croneter Date: Fri, 15 Jun 2018 14:08:43 +0200 Subject: [PATCH] PEP8 --- resources/lib/entrypoint.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index d8975ff3..48d3c128 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -512,11 +512,11 @@ def extra_fanart(plex_id, plex_path): for count, backdrop in enumerate(backdrops): # Same ordering as in artwork art_file = try_encode(join(fanart_dir, "fanart%.3d.jpg" % count)) - li = ListItem("%.3d" % count, path=art_file) + listitem = ListItem("%.3d" % count, path=art_file) xbmcplugin.addDirectoryItem( handle=HANDLE, url=art_file, - listitem=li) + listitem=listitem) copyfile(backdrop, try_decode(art_file)) else: LOG.info("Found cached backdrop.") @@ -524,10 +524,10 @@ def extra_fanart(plex_id, plex_path): for root, dirs, files in walk(fanart_dir): for file in files: art_file = try_encode(join(root, file)) - li = ListItem(file, path=art_file) + listitem = ListItem(file, path=art_file) xbmcplugin.addDirectoryItem(handle=HANDLE, url=art_file, - listitem=li) + listitem=listitem) xbmcplugin.endOfDirectory(HANDLE)