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