mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
commit
de8b437549
8 changed files with 8 additions and 8 deletions
|
|
@ -159,7 +159,7 @@ class Pelican(object):
|
|||
]
|
||||
|
||||
# erase the directory if it is not the source and if that's
|
||||
# explicitely asked
|
||||
# explicitly asked
|
||||
if (self.delete_outputdir and not
|
||||
os.path.realpath(self.path).startswith(self.output_path)):
|
||||
clean_output_dir(self.output_path, self.output_retention)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue