Permalink
Browse files

merge adding missing changes from previous commit

  • Loading branch information...
2 parents c7f8219 + aadf7ff commit 768a483953db5ec10b7982741320edbd8628ac65 @pablohoffman pablohoffman committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scrapy/log.py
View
2 scrapy/log.py
@@ -100,7 +100,7 @@ def _get_log_level(level_name_or_id):
raise ValueError("Unknown log level: %r" % level_name_or_id)
def start(logfile=None, loglevel='INFO', logstdout=True, logencoding='utf-8'):
- if log.defaultObserver or True: # check twisted log not already started
+ if log.defaultObserver: # check twisted log not already started
loglevel = _get_log_level(loglevel)
file = open(logfile, 'a') if logfile else sys.stderr
sflo = ScrapyFileLogObserver(file, loglevel, logencoding)

0 comments on commit 768a483

Please sign in to comment.