diff --git a/pelican/__init__.py b/pelican/__init__.py index 0c0227f0..20f3862e 100644 --- a/pelican/__init__.py +++ b/pelican/__init__.py @@ -24,7 +24,7 @@ class Pelican(object): ' (see pelican --help for more information)') if self.path.endswith('/'): - self.path = path[:-1] + self.path = self.path[:-1] # define the default settings self.settings = settings