fix too many blank lines(2)
This commit is contained in:
parent
3f020984ca
commit
ee2252cf55
@ -35,7 +35,6 @@ class Tipue_Search_JSON_Generator(object):
|
||||
self.output_path = output_path
|
||||
self.json_nodes = []
|
||||
|
||||
|
||||
def create_json_node(self, page):
|
||||
|
||||
if getattr(page, 'status', 'published') != 'published':
|
||||
@ -61,7 +60,6 @@ class Tipue_Search_JSON_Generator(object):
|
||||
|
||||
self.json_nodes.append(node)
|
||||
|
||||
|
||||
def create_tpage_node(self, srclink):
|
||||
|
||||
srcfile = open(os.path.join(self.output_path, self.tpages[srclink]), encoding='utf-8')
|
||||
@ -80,7 +78,6 @@ class Tipue_Search_JSON_Generator(object):
|
||||
|
||||
self.json_nodes.append(node)
|
||||
|
||||
|
||||
def generate_output(self, writer):
|
||||
path = os.path.join(self.output_path, 'tipuesearch_content.json')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user