Fixed access to settings module name, broken after recent changes to Settings classes

This commit is contained in:
Pablo Hoffman 2010-09-22 22:21:29 -03:00
parent 9599bde3e9
commit f29b346f79
1 changed files with 1 additions and 1 deletions

View File

@ -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: