mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-26 22:04:01 +00:00
set missing 'settings' attribute in FeedExports
This commit is contained in:
parent
0135a5364e
commit
44fe4c6b78
@ -134,6 +134,7 @@ class SpiderSlot(object):
|
||||
class FeedExporter(object):
|
||||
|
||||
def __init__(self, settings):
|
||||
self.settings = settings
|
||||
self.urifmt = settings['FEED_URI']
|
||||
if not self.urifmt:
|
||||
raise NotConfigured
|
||||
|
Loading…
x
Reference in New Issue
Block a user