mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fixed a but
This commit is contained in:
parent
cbb8a78c19
commit
90c084f818
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class Pelican(object):
|
|||
p.generate_context()
|
||||
|
||||
# erase the directory if it is not the source
|
||||
if os.path.realpath(self.path).startswith(self.output_path) and not keep:
|
||||
if os.path.realpath(self.path).startswith(self.output_path) and not self.keep:
|
||||
clean_output_dir(self.output_path)
|
||||
|
||||
writer = self.get_writer()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue