change platform to config

This commit is contained in:
Martin A. Brown 2016-02-23 09:43:27 -08:00
parent 13bb8d3129
commit 51fabb65d7
1 changed files with 3 additions and 3 deletions

View File

@ -30,13 +30,13 @@ class BaseDoctype(object):
def __init__(self, *args, **kwargs):
self.source = kwargs.get('source', None)
self.output = kwargs.get('output', None)
self.platform = kwargs.get('platform', None)
assert None not in (self.source, self.output, self.platform)
self.config = kwargs.get('config', None)
assert None not in (self.source, self.output, self.config)
def generate(self):
self.output.prebuild_hook()
os.chdir(self.output.dirname)
vector = [self.platform_check(),
vector = [self.config_check(),
self.create_htmls(),
self.create_pdf(),
self.create_txt(),