From 3f371d1d3e68eccfabd59a18bf4ebfba0de3c27b Mon Sep 17 00:00:00 2001 From: Clayton Sims Date: Wed, 10 Jun 2020 16:40:18 +0000 Subject: [PATCH] Fix markdown output --- commcare_export/writers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commcare_export/writers.py b/commcare_export/writers.py index 14611edf..f2ecb256 100644 --- a/commcare_export/writers.py +++ b/commcare_export/writers.py @@ -233,7 +233,7 @@ def write_table(self, table, ): else: row_template = ' | '.join(['{}'] * len(table.headings)) - if table.get('name'): + if table.name: self.output_stream.write('\n# %s \n\n' % table.name) self.output_stream.write('| %s |\n' % row_template.format(*table.headings))