Skip to content

Commit

Permalink
Fix bug for non-header table cells #31
Browse files Browse the repository at this point in the history
  • Loading branch information
Huyston committed Mar 19, 2017
1 parent 6d6720b commit 5cc5c3c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file added Archieves/document.docx
Binary file not shown.
Binary file modified __pycache__/docxExporter.cpython-35.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion docxExporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def addTable(self,table,caption,label):
for n,heading in enumerate(headings):
hCells[n].text = heading
elif '|' in row:
colText = row.split('||')
colText = row.split('|')
hCells = docxTable.add_row().cells
for n,text in enumerate(colText):
hCells[n].text = text
Expand Down

0 comments on commit 5cc5c3c

Please sign in to comment.