forked from github/pelican
some cleanup
This commit is contained in:
parent
bcfd574664
commit
ead50cca62
1 changed files with 2 additions and 3 deletions
|
|
@ -246,7 +246,7 @@ def parse_arguments():
|
|||
|
||||
parser.add_argument('-d', '--delete-output-directory',
|
||||
dest='delete_outputdir',
|
||||
action='store_true',
|
||||
action='store_true',
|
||||
default=None,
|
||||
help='Delete the output directory.')
|
||||
|
||||
|
|
@ -357,7 +357,7 @@ def main():
|
|||
|
||||
if modified['theme'] is None:
|
||||
logger.warning('Empty theme folder. Using `basic` theme.')
|
||||
|
||||
|
||||
pelican.run()
|
||||
|
||||
except KeyboardInterrupt:
|
||||
|
|
@ -374,7 +374,6 @@ def main():
|
|||
finally:
|
||||
time.sleep(.5) # sleep to avoid cpu load
|
||||
|
||||
|
||||
else:
|
||||
if next(watchers['content']) is None:
|
||||
logger.warning('No valid files found in content.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue