Merge pull request #2884 from iamminji/patch-1

fix typo
This commit is contained in:
Mikhail Korobov 2017-08-16 16:36:00 +05:00 committed by GitHub
commit 984c0c19ee
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class Crawler(object):
handler = LogCounterHandler(self, level=self.settings.get('LOG_LEVEL'))
logging.root.addHandler(handler)
if get_scrapy_root_handler() is not None:
# scrapy root handler alread installed: update it with new settings
# scrapy root handler already installed: update it with new settings
install_scrapy_root_handler(self.settings)
# lambda is assigned to Crawler attribute because this way it is not
# garbage collected after leaving __init__ scope