mkdirs
This commit is contained in:
@@ -100,5 +100,6 @@ for line in luaScript.splitlines():
|
||||
outHeader = outHeader.rstrip(" \\\n") + "\n" # Remove last backslash and add newline
|
||||
|
||||
# Write to output file
|
||||
os.makedirs(os.path.dirname(args.output), exist_ok=True)
|
||||
with open(args.output, "w", encoding="utf-8") as outFile:
|
||||
outFile.write(outHeader)
|
||||
Reference in New Issue
Block a user