Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Removed validation of project_name dir exists

Felipe Ruhland85c4ecb92856
diff --git a/scrapy/commands/startproject.py b/scrapy/commands/startproject.py
index c0e7af88a..a51a586ab 100644
--- a/scrapy/commands/startproject.py
+++ b/scrapy/commands/startproject.py
@@ -44,8 +44,6 @@ class Command(ScrapyCommand):
if not re.search(r'^[_a-zA-Z]\w*$', project_name):
print('Error: Project names must begin with a letter and contain'\
' only\nletters, numbers and underscores')
- elif exists(project_name):
- print('Error: Directory %r already exists' % project_name)
elif _module_exists(project_name):
print('Error: Module %r already exists' % project_name)
else: