mirror of https://github.com/scrapy/scrapy.git
Fixed access to settings module name, broken after recent changes to Settings classes
This commit is contained in:
parent
9599bde3e9
commit
f29b346f79
|
|
@ -89,7 +89,7 @@ def _check_deprecated_scrapy_ctl(argv, inproject):
|
|||
with open(cfg_path, 'w') as f:
|
||||
f.write("# generated automatically - feel free to edit" + os.linesep)
|
||||
f.write("[settings]" + os.linesep)
|
||||
f.write("default = %s" % settings.settings_module_path + os.linesep)
|
||||
f.write("default = %s" % settings.settings_module.__name__ + os.linesep)
|
||||
|
||||
def _run_print_help(parser, func, *a, **kw):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in New Issue