Fix broken combine
This commit is contained in:
parent
84440e92c1
commit
361f044703
|
@ -8,11 +8,10 @@ args = parser.parse_args()
|
|||
|
||||
cart = p8btools.Cart(args.p8cart)
|
||||
t = ""
|
||||
for luafile in args.luafile:
|
||||
lua = p8btools.LuaCode(luafile)
|
||||
lua.parse()
|
||||
t += lua.text
|
||||
t += "\n"
|
||||
lua = p8btools.LuaCode(args.luafile)
|
||||
lua.parse()
|
||||
t += lua.text
|
||||
t += "\n"
|
||||
cart.lua = t.rstrip()
|
||||
with io.open(args.result,"w",encoding="utf-8") as f:
|
||||
f.write(cart.fulltext)
|
||||
|
|
Loading…
Reference in New Issue