public this repo is viewable by everyone
Description: Simple to use TheTVDB.com API in Python
Clone URL: git://github.com/dbr/tvdb_api.git
Debug to file went to stderr and vice-versa
dbr (author)
3 days ago
commit  9ff15b5bdb7827338dd3881539d4f3ac970d7b3e
tree    3b841ac3916e9c677888b264013ebe7b1fbef148
parent  e01ec1b6726ef201a7e1bbed958538f049a58c52
...
62
63
64
65
66
67
 
 
68
69
70
...
62
63
64
 
 
65
66
67
68
69
70
0
@@ -62,9 +62,9 @@ class tvdb:
0
         formatter = logging.Formatter('%(asctime)s) %(levelname)s %(message)s')
0
         
0
         if self.config['debug_tofile']:
0
- hdlr = logging.StreamHandler(sys.stdout)
0
- else:
0
             hdlr = logging.FileHandler(logpath)
0
+ else:
0
+ hdlr = logging.StreamHandler(sys.stdout)
0
         #end if debug_tofile
0
         
0
         hdlr.setFormatter(formatter)

Comments

    No one has commented yet.