From 0ed6cf77434f8e8a86d11bf632c1253bee1e9b32 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Fri, 23 Mar 2012 09:04:57 +0000 Subject: [PATCH] Follow the PATH variable in settings --- pelican/__init__.py | 2 +- pelican/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pelican/__init__.py b/pelican/__init__.py index bbcd96bf..c2766646 100644 --- a/pelican/__init__.py +++ b/pelican/__init__.py @@ -146,7 +146,7 @@ def parse_arguments(): parser.add_argument(dest='path', nargs='?', help='Path where to find the content files.', - default='.') + default=None) parser.add_argument('-t', '--theme-path', dest='theme', help='Path where to find the theme templates. If not specified, it' diff --git a/pelican/settings.py b/pelican/settings.py index 0c66b6f0..ea7817ae 100644 --- a/pelican/settings.py +++ b/pelican/settings.py @@ -11,7 +11,7 @@ logger = logging.getLogger(__name__) DEFAULT_THEME = os.sep.join([os.path.dirname(os.path.abspath(__file__)), "themes/notmyidea"]) -_DEFAULT_CONFIG = {'PATH': None, +_DEFAULT_CONFIG = {'PATH': '.', 'ARTICLE_DIR': '', 'ARTICLE_EXCLUDES': ('pages',), 'PAGE_DIR': 'pages',