Commit 846508c3 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent fa9dad7b
......@@ -48,12 +48,24 @@ async function print()
let data=all[i].data
for (let j=0;j<data.length;j++)
{
console.log(data[j].data[2])
let currentSide=data[j].data[2]
try {
let nextSide=data[j+1].data[2]
if (typeof nextSide !=="undefined" && nextSide !==currentSide)
{
text=text+data[j].text
if (j !==data.length-1)
text=text+'\n'
}
}catch (e)
{
}
}
// console.log(text)
printFile(all[i].uniq,text)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment