Update core.py
Correct method camelot.core.Table.to_html
This commit is contained in:
+1
-1
@@ -631,7 +631,7 @@ class Table(object):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
html_string = self.df.to_html(**kwargs)
|
html_string = self.df.to_html(**kwargs)
|
||||||
with open(path, "w") as f:
|
with open(path, "w", encoding="utf-8") as f:
|
||||||
f.write(html_string)
|
f.write(html_string)
|
||||||
|
|
||||||
def to_sqlite(self, path, **kwargs):
|
def to_sqlite(self, path, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user