mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fix typo to make work if path ends in / (cf. issue #131)
This commit is contained in:
parent
086df21ce7
commit
83a61da255
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue