Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 734cb3b commit 09cb765Copy full SHA for 09cb765
pyspider/webui/debug.py
@@ -50,7 +50,7 @@ def debug(project):
50
script = (default_script
51
.replace('__DATE__', datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
52
.replace('__PROJECT_NAME__', project)
53
- .replace('__START_URL__', request.values.get('start-urls', '__START_URL__')))
+ .replace('__START_URL__', request.values.get('start-urls') or '__START_URL__'))
54
55
taskid = request.args.get('taskid')
56
if taskid:
0 commit comments