PEP8
This commit is contained in:
parent
c14b9b4ed8
commit
28ccd1a3b3
2 changed files with 6 additions and 4 deletions
|
@ -79,8 +79,8 @@ class Main():
|
||||||
int(params.get('limit')))
|
int(params.get('limit')))
|
||||||
|
|
||||||
elif mode == 'nextup':
|
elif mode == 'nextup':
|
||||||
entrypoint.getNextUpEpisodes(params['tagname'],
|
entrypoint.next_up_episodes(params['tagname'],
|
||||||
int(params['limit']))
|
int(params['limit']))
|
||||||
|
|
||||||
elif mode == 'inprogressepisodes':
|
elif mode == 'inprogressepisodes':
|
||||||
entrypoint.getInProgressEpisodes(params['tagname'],
|
entrypoint.getInProgressEpisodes(params['tagname'],
|
||||||
|
|
|
@ -268,8 +268,10 @@ def create_listitem(item, append_show_title=False, append_sxxexx=False):
|
||||||
return listitem
|
return listitem
|
||||||
|
|
||||||
|
|
||||||
##### GET NEXTUP EPISODES FOR TAGNAME #####
|
def next_up_episodes(tagname, limit):
|
||||||
def getNextUpEpisodes(tagname, limit):
|
"""
|
||||||
|
List the next up episodes for tagname.
|
||||||
|
"""
|
||||||
count = 0
|
count = 0
|
||||||
# if the addon is called with nextup parameter,
|
# if the addon is called with nextup parameter,
|
||||||
# we return the nextepisodes list of the given tagname
|
# we return the nextepisodes list of the given tagname
|
||||||
|
|
Loading…
Add table
Reference in a new issue