Change log format for programmed movies

This commit is contained in:
2019-10-12 09:41:11 +02:00
parent 56cf5979f0
commit 842bbd5853

View File

@ -239,7 +239,7 @@ class FreeboxMoviePlanner:
def programMovies(self):
for movie in self.movies:
logging.debug("Programming '{}'".format(movie))
logging.debug("Programming '{!r}'".format(movie))
data = {
'channel_uuid': self.channels[movie.channel],
'start': int(movie.start_time.timestamp()),
@ -249,7 +249,7 @@ class FreeboxMoviePlanner:
'margin_after': 60*self.config['margin-after']
}
self.freebox.Pvr.Create_a_precord(data)
print("Programmed '{}'".format(movie))
print("Programmed '{!r}'".format(movie))
def checkForConflicts(self):
programmed_movies = self.freebox.Pvr.Getting_the_list_of_precords()