Output all tables

#4
by sladomic - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def prepare_output(dp, add_table, add_ocr):
153
  if add_table:
154
  html_list = [table.html for table in dp.tables]
155
  if html_list:
156
- html = html_list[0]
157
  else:
158
  html = None
159
  else:
 
153
  if add_table:
154
  html_list = [table.html for table in dp.tables]
155
  if html_list:
156
+ html = ("\n").join(html_list)
157
  else:
158
  html = None
159
  else: