mirror of https://github.com/scrapy/scrapy.git
Update __init__.py
This commit is contained in:
parent
b5684909d1
commit
33ab0a3663
|
|
@ -83,7 +83,7 @@ class BaseSettings(MutableMapping):
|
|||
def __init__(self, values=None, priority='project'):
|
||||
self.frozen = False
|
||||
self.attributes = {}
|
||||
if values is not None:
|
||||
if values:
|
||||
self.update(values, priority)
|
||||
|
||||
def __getitem__(self, opt_name):
|
||||
|
|
|
|||
Loading…
Reference in New Issue