Minor comment changes
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
"""
|
"""
|
||||||
Simple script that extracts information from Télé 7 jours and TMDB
|
Simple script that extracts information from Télé 7 jours and TMDB
|
||||||
to help choosing the movies you want to record with your Freebox
|
to help select and plan the movies you want to record with your Freebox
|
||||||
"""
|
"""
|
||||||
import argparse
|
import argparse
|
||||||
import datetime
|
import datetime
|
||||||
@ -178,10 +178,10 @@ class FreeboxMoviePlanner:
|
|||||||
def askForUserSelection(self):
|
def askForUserSelection(self):
|
||||||
for movie in self.movies:
|
for movie in self.movies:
|
||||||
print(movie)
|
print(movie)
|
||||||
reply = input("Interested? (y)es/(N)o/(s)kip")
|
reply = input("Interested? (y)es/(N)o/(q)uit")
|
||||||
if reply.upper() == "Y":
|
if reply.upper() == "Y":
|
||||||
movie.user_selected = True
|
movie.user_selected = True
|
||||||
elif reply.upper() == "S":
|
elif reply.upper() == "Q":
|
||||||
break
|
break
|
||||||
print()
|
print()
|
||||||
|
|
||||||
@ -282,6 +282,7 @@ if __name__ == '__main__':
|
|||||||
)
|
)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
print("Working the magic… please wait…")
|
||||||
if args.day:
|
if args.day:
|
||||||
movies = TVGuideScraper._getMovies()
|
movies = TVGuideScraper._getMovies()
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user