mirror of https://github.com/scrapy/scrapy.git
minor code fix
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40212
This commit is contained in:
parent
3fe36e77d2
commit
3a2981801c
|
|
@ -11,7 +11,7 @@ from scrapy.core.engine import scrapyengine
|
|||
from scrapy.core.exceptions import NotConfigured
|
||||
from scrapy.conf import settings
|
||||
|
||||
DEFAULT_PRIORITY = settings.getint("DEFAULT_PRIORITY") or 20
|
||||
DEFAULT_PRIORITY = settings.getint("DEFAULT_PRIORITY", 20)
|
||||
|
||||
def my_import(name):
|
||||
mod = __import__(name)
|
||||
|
|
|
|||
Loading…
Reference in New Issue