Skip to content
Permalink
Browse files
add a hack for comet cms
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 5, 2015
1 parent d667c05 commit 167f5e36b57c18e712a9b9f7ccf0445a934cf1f5
Showing with 7 additions and 1 deletion.
  1. +7 −1 nikola/__main__.py
@@ -58,6 +58,9 @@

config = {}

# DO NOT USE unless you know what you are doing!
_RETURN_DOITNIKOLA = False


def main(args=None):
colorful = False
@@ -144,7 +147,10 @@ def main(args=None):
config['__configuration_filename__'] = conf_filename

site = Nikola(**config)
_ = DoitNikola(site, quiet).run(args)
DN = DoitNikola(site, quiet)
if _RETURN_DOITNIKOLA:
return DN
_ = DN.run(args)

if site.invariant:
freeze.stop()

0 comments on commit 167f5e3

Please sign in to comment.