1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-22 01:33:17 +00:00

fixed a get setting in UrlToGuidService

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40147
This commit is contained in:
olveyra 2008-08-05 18:32:03 +00:00
parent 22eb48dae5
commit 246bdedcfb

View File

@ -81,7 +81,7 @@ urlmapping = (
class UrlToGuidService(WebSite):
def __init__(self):
if not settings['WS_ENABLED']:
if not settings.getbool('WS_ENABLED'):
raise NotConfigured
port = settings.getint('WS_PORT') or 8088