PEP8
This commit is contained in:
parent
28ccd1a3b3
commit
96dff29afe
2 changed files with 6 additions and 4 deletions
|
@ -83,7 +83,7 @@ class Main():
|
||||||
int(params['limit']))
|
int(params['limit']))
|
||||||
|
|
||||||
elif mode == 'inprogressepisodes':
|
elif mode == 'inprogressepisodes':
|
||||||
entrypoint.getInProgressEpisodes(params['tagname'],
|
entrypoint.in_progress_episodes(params['tagname'],
|
||||||
int(params['limit']))
|
int(params['limit']))
|
||||||
|
|
||||||
elif mode == 'browseplex':
|
elif mode == 'browseplex':
|
||||||
|
|
|
@ -333,8 +333,10 @@ def next_up_episodes(tagname, limit):
|
||||||
xbmcplugin.endOfDirectory(handle=HANDLE)
|
xbmcplugin.endOfDirectory(handle=HANDLE)
|
||||||
|
|
||||||
|
|
||||||
##### GET INPROGRESS EPISODES FOR TAGNAME #####
|
def in_progress_episodes(tagname, limit):
|
||||||
def getInProgressEpisodes(tagname, limit):
|
"""
|
||||||
|
List the episodes that are in progress for tagname
|
||||||
|
"""
|
||||||
count = 0
|
count = 0
|
||||||
# if the addon is called with inprogressepisodes parameter,
|
# if the addon is called with inprogressepisodes parameter,
|
||||||
# we return the inprogressepisodes list of the given tagname
|
# we return the inprogressepisodes list of the given tagname
|
||||||
|
|
Loading…
Reference in a new issue