From 83a61da25574d23f7b4dea8e6d31587ff329b050 Mon Sep 17 00:00:00 2001 From: Rory McCann Date: Sun, 12 Jun 2011 18:41:29 +0100 Subject: [PATCH] fix typo to make work if path ends in / (cf. issue #131) --- pelican/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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