Fix a typo: specifiy → specify (#4128)

This commit is contained in:
Adrián Chaves 2019-11-06 11:53:46 +01:00 committed by GitHub
parent 698aa704b9
commit 98caf055b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ def create_instance(objcls, settings, crawler, *args, **kwargs):
"""
if settings is None:
if crawler is None:
raise ValueError("Specifiy at least one of settings and crawler.")
raise ValueError("Specify at least one of settings and crawler.")
settings = crawler.settings
if crawler and hasattr(objcls, 'from_crawler'):
return objcls.from_crawler(crawler, *args, **kwargs)