scrapy / scrapy

Scrapy, a fast high-level web crawling & scraping framework for Python.
https://scrapy.org
BSD 3-Clause "New" or "Revised" License
53.04k stars 10.55k forks source link

changed scrapyd data dir to be ".scrapy/scrapyd" instead of ".scrapy/.scrapy/scrapyd" #53

Closed warvariuc closed 12 years ago

warvariuc commented 12 years ago

changed scrapyd data dir to be ".scrapy/scrapyd" instead of ".scrapy/.scrapy/scrapyd"

--- a/scrapyd/script.py
+++ b/scrapyd/script.py
@@ -14,7 +14,7 @@ from scrapyd import get_application
from scrapyd.config import Config

def _get_config():
-    datadir = os.path.join(project_data_dir(), '.scrapy', 'scrapyd')
+    datadir = os.path.join(project_data_dir(), 'scrapyd')
    conf = {
        'eggs_dir': os.path.join(datadir, 'eggs'),
        'logs_dir': os.path.join(datadir, 'logs'),
pablohoffman commented 12 years ago

This was fixed in 531fa95f