Follow the PATH variable in settings

This commit is contained in:
Kyle Fuller 2012-03-23 09:04:57 +00:00
commit 0ed6cf7743
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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',