Fix generated EndVector. (#6385)

This commit is contained in:
Richard A Hofer
2021-01-05 17:45:23 -05:00
committed by GitHub
parent 1bf1ec0270
commit 4363c1d2cb
2 changed files with 3 additions and 3 deletions

View File

@@ -628,7 +628,7 @@ class PythonGenerator : public BaseGenerator {
code += Indent + "builder.head = builder.head - len(bytes)\n";
code += Indent + "builder.Bytes[builder.head : builder.head + len(bytes)]";
code += " = bytes\n";
code += Indent + "return builder.EndVector(len(bytes))\n";
code += Indent + "return builder.EndVector()\n";
}
// Get the offset of the end of a table.