Fix warning to duplicated spider. Issue 2181

This commit is contained in:
Erick 2016-10-21 18:24:59 -03:00 committed by Paul Tremberth
parent f3b75c940d
commit 6abd9ba843
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class SpiderLoader(object):
import warnings
warnings.warn("There are several spiders with the same name (" + spcls.name +
"), this can cause unexpected behavior", UserWarning)
self._spiders[spcls.name] = spcls
self._spiders[spcls.name] = spcls
def _load_all_spiders(self):