Reversed the episodes list order to match the loop count with the actual episode number.
This commit is contained in:
parent
67c81ce499
commit
0b8f4c755c
1 changed files with 4 additions and 2 deletions
|
@ -68,8 +68,10 @@ while run:
|
||||||
# Print the loop count & title
|
# Print the loop count & title
|
||||||
# The count is converted into a str, and right justified
|
# The count is converted into a str, and right justified
|
||||||
print ' {0}. {1}'.format(str(count).rjust(2), episodeInfo[0])
|
print ' {0}. {1}'.format(str(count).rjust(2), episodeInfo[0])
|
||||||
# Increment the loop count, same as: count = count + 1
|
# Increment the loop count, unless we're on the last episode
|
||||||
count += 1
|
if (count + 1) < len(episodes):
|
||||||
|
# Same as: count = count + 1
|
||||||
|
count += 1
|
||||||
|
|
||||||
print
|
print
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue