Add a extra \n to the table data,
...this avoids the last line not to be displayed when there's no extra \n in the data.
This commit is contained in:
parent
60bb964163
commit
964a0fcab4
1 changed files with 5 additions and 5 deletions
|
@ -200,15 +200,15 @@ if __name__ == "__main__":
|
|||
|
||||
type = table.group(1)
|
||||
if(type == "config"):
|
||||
return create_config_table(table.group(2))
|
||||
return create_config_table(table.group(2) + "\n")
|
||||
elif(type == "formula"):
|
||||
return create_formula_table(table.group(2))
|
||||
return create_formula_table(table.group(2) + "\n")
|
||||
elif(type == "variable_types"):
|
||||
return create_variable_types_table(table.group(2))
|
||||
return create_variable_types_table(table.group(2) + "\n")
|
||||
elif(type == "widget_definition"):
|
||||
return create_widget_definition_table(table.group(2))
|
||||
return create_widget_definition_table(table.group(2) + "\n")
|
||||
elif(type == "window_definition"):
|
||||
return create_window_definition_table(table.group(2))
|
||||
return create_window_definition_table(table.group(2) + "\n")
|
||||
else:
|
||||
sys.stderr.write("Unknown table definition '" + type + "'.\n")
|
||||
return "Unknown table definition '" + type + "'."
|
||||
|
|
Loading…
Add table
Reference in a new issue