Minor. Export label change from OpenTX -> EdgeTX
This commit is contained in:
@@ -104,7 +104,7 @@ with open(inputFile, "r") as inp:
|
|||||||
error = True
|
error = True
|
||||||
|
|
||||||
with open(outputFile, "w") as out:
|
with open(outputFile, "w") as out:
|
||||||
out.write("//This file was generated by luaexport.py script on %s for OpenTX version %s\n\n\n"
|
out.write("//This file was generated by luaexport.py script on %s for EdgeTX version %s\n\n\n"
|
||||||
% (time.asctime(), version))
|
% (time.asctime(), version))
|
||||||
|
|
||||||
header = """
|
header = """
|
||||||
@@ -158,7 +158,7 @@ if docFile:
|
|||||||
all_exports.sort(key=alphanum_key)
|
all_exports.sort(key=alphanum_key)
|
||||||
|
|
||||||
with open(docFile, "w") as out:
|
with open(docFile, "w") as out:
|
||||||
out.write("Alphabetical list of Lua fields for OpenTX version %s\n\n\n" % version)
|
out.write("Alphabetical list of Lua fields for EdgeTX version %s\n\n\n" % version)
|
||||||
FIELD_NAME_WIDTH = 25
|
FIELD_NAME_WIDTH = 25
|
||||||
out.write("Field name%sField description\n" % (' ' * (FIELD_NAME_WIDTH - len('Field name'))))
|
out.write("Field name%sField description\n" % (' ' * (FIELD_NAME_WIDTH - len('Field name'))))
|
||||||
out.write("----------------------------------------------\n")
|
out.write("----------------------------------------------\n")
|
||||||
|
|||||||
Reference in New Issue
Block a user