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:
parent
22eb48dae5
commit
246bdedcfb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user