From b0b24795b24ee6809397fbbadf42f31f310a219f Mon Sep 17 00:00:00 2001 From: Agustin Henze Date: Wed, 8 Jul 2015 07:35:02 -0300 Subject: Imported Upstream version 7.6.0 --- scripts/generate_conf.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/generate_conf.py (limited to 'scripts/generate_conf.py') diff --git a/scripts/generate_conf.py b/scripts/generate_conf.py new file mode 100755 index 0000000..37a3a94 --- /dev/null +++ b/scripts/generate_conf.py @@ -0,0 +1,9 @@ +#!/usr/bin/env python +# Generate a conf.py file from the template, using default settings. + +import nikola.plugins.command.init + +try: + print(nikola.plugins.command.init.CommandInit.create_configuration_to_string()) +except: + print(nikola.plugins.command.init.CommandInit.create_configuration_to_string().encode('utf-8')) -- cgit v1.2.3