From 3e68c5aefb51d08ec72d2156eb6de8c284341e4c Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Sat, 12 Jul 2014 14:39:48 +0000 Subject: [PATCH] Richtig loggen. --- src/tivomirror/tivomirror | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tivomirror/tivomirror b/src/tivomirror/tivomirror index 13586a4..1d93253 100755 --- a/src/tivomirror/tivomirror +++ b/src/tivomirror/tivomirror @@ -1,6 +1,6 @@ #!/usr/local/bin/python -# $Schlepperbande: src/tivomirror/tivomirror,v 1.64 2014/07/07 21:50:28 stb Exp $ +# $Schlepperbande: src/tivomirror/tivomirror,v 1.65 2014/07/12 13:59:46 stb Exp $ # # Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4 # zu transkodieren. @@ -62,7 +62,8 @@ includes['The Colbert Report'] = 1 includes['The Daily Show With Jon Stewart'] = 1 includes['The Late Late Show With Craig Ferguson'] = 1 includes['The Tonight Show Starring Jimmy Fallon'] = 1 -includes['"The Wil Wheaton Project'] = 1 +includes['The Wil Wheaton Project'] = 1 +includes['Through the Wormhole With Morgan Freeman'] = 1 logger = logging.getLogger('tivomirror') @@ -454,7 +455,7 @@ def mirror(toc, downloaddb, one=False): sys.exit(1) items = toc.getItems() - print "*** %d shows listed" % (len(items)) + logger.info("*** %d shows listed" % (len(items))) for item in items: reason = wantitem(item, downloaddb) if reason != "":