diff options
| author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2019-10-20 12:58:52 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-20 12:58:52 +0300 |
| commit | 7879fef65a152f34238a6a415d998e6480e163c4 (patch) | |
| tree | d7795065d14600e927f86fe4fb67edbf592baf73 /src/tablib/formats/_html.py | |
| parent | 825de0193ba049c6cfd06b32dfa01a4873bfd381 (diff) | |
| parent | b8bff1190e97184f475f7c9834123274599bcca4 (diff) | |
| download | tablib-7879fef65a152f34238a6a415d998e6480e163c4.tar.gz | |
Remove Python 2 code (#410)
Remove Python 2 code
Diffstat (limited to 'src/tablib/formats/_html.py')
| -rw-r--r-- | src/tablib/formats/_html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tablib/formats/_html.py b/src/tablib/formats/_html.py index bb31128..edf0c0a 100644 --- a/src/tablib/formats/_html.py +++ b/src/tablib/formats/_html.py @@ -53,7 +53,7 @@ def export_book(databook): for i, dset in enumerate(databook._datasets): title = (dset.title if dset.title else 'Set %s' % (i)) - wrapper.write('<%s>%s</%s>\n' % (BOOK_ENDINGS, title, BOOK_ENDINGS)) + wrapper.write('<{}>{}</{}>\n'.format(BOOK_ENDINGS, title, BOOK_ENDINGS)) wrapper.write(dset.html) wrapper.write('\n') |
