1
0
Fork 0
forked from github/pelican

Fix #1. Thanks solstice for reporting it.

This commit is contained in:
Alexis Metaireau 2010-11-08 22:59:16 +00:00
commit 8b5fbb95f3

View file

@ -21,6 +21,9 @@ class Generator(object):
settings = {}
self.settings = read_settings(settings)
self.path = path or self.settings['PATH']
if self.path.endswith('/'):
self.path = self.path[:-1]
self.theme = theme or self.settings['THEME']
output_path = output_path or self.settings['OUTPUT_PATH']
self.output_path = os.path.realpath(output_path)