diff --git a/gen.py b/gen.py index 5fdfba33..8a437d01 100755 --- a/gen.py +++ b/gen.py @@ -109,7 +109,7 @@ class XEPTable: Status Date ''') - self.tableFile.getElementsByTagName("table")[0].appendChild(col.getElementsByTagName("td")[0]) + self.tableFile.getElementsByTagName("table")[0].appendChild(header.getElementsByTagName("tr")[0]) def save(self): f = open(self.filename, "wb")