Update render_tools.py
Browse files- render_tools.py +2 -2
render_tools.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
punctuation_dict = {
|
| 3 |
",": ",",
|
| 4 |
"。": ".",
|
|
@@ -24,7 +24,7 @@ def svg_to_html(svg_content, output_filename):
|
|
| 24 |
</html>
|
| 25 |
"""
|
| 26 |
|
| 27 |
-
with
|
| 28 |
file.write(html_content)
|
| 29 |
|
| 30 |
|
|
|
|
| 1 |
+
|
| 2 |
punctuation_dict = {
|
| 3 |
",": ",",
|
| 4 |
"。": ".",
|
|
|
|
| 24 |
</html>
|
| 25 |
"""
|
| 26 |
|
| 27 |
+
with open(output_filename, 'w') as file:
|
| 28 |
file.write(html_content)
|
| 29 |
|
| 30 |
|