File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def wrapper(response):
21
21
class Command (ScrapyCommand ):
22
22
requires_project = True
23
23
multi_crawlers = True
24
- default_settings = {'LOG_ENABLED' : True }
24
+ default_settings = {'LOG_ENABLED' : False }
25
25
26
26
def syntax (self ):
27
27
return "[options] <spider>"
Original file line number Diff line number Diff line change @@ -153,7 +153,9 @@ def start_crawler(self):
153
153
name , crawler = self .crawlers .popitem ()
154
154
155
155
crawler .sflo = log .start_from_crawler (crawler )
156
- crawler .signals .connect (crawler .sflo .stop , signals .engine_stopped )
156
+ if crawler .sflo :
157
+ crawler .signals .connect (crawler .sflo .stop , signals .engine_stopped )
158
+
157
159
crawler .signals .connect (self .check_done , signals .engine_stopped )
158
160
crawler .start ()
159
161
You can’t perform that action at this time.
0 commit comments