Skip to content

Commit

Permalink
Removing the _prev template generation by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
txinto committed Nov 25, 2020
1 parent 5af9b01 commit 0228d93
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions assets/pythons/lib/launch_carbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ if (use_mName == "0") {
fs.writeFileSync(pathRoot+'/doc/'+mName+'.ods', result);
});

carbone.render(pathRoot + '/templates/prev_byperson_template.ods', data, options, function (err, result) {
if (err)
return console.log(err);
fs.writeFileSync(pathRoot + '/doc/' + mName + '_prev.ods', result);
});
if (false) {
carbone.render(pathRoot + '/templates/prev_byperson_template.ods', data, options, function (err, result) {
if (err)
return console.log(err);
fs.writeFileSync(pathRoot + '/doc/' + mName + '_prev.ods', result);
});
}

}

0 comments on commit 0228d93

Please sign in to comment.