Skip to content

Commit 59fa6c5

Browse files
committed
Fixed one last bad import
1 parent db5bd2b commit 59fa6c5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

manim/utils/tex_file_writing.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
from pathlib import Path
55

6-
import manim.constants as consts
7-
6+
from .. import constants
87
from .. import dirs
98
from ..logger import logger
109

@@ -16,7 +15,7 @@ def tex_hash(expression):
1615
return hasher.hexdigest()[:16]
1716

1817
def tex_to_svg_file(expression, source_type):
19-
tex_template = consts.TEX_TEMPLATE
18+
tex_template = constants.TEX_TEMPLATE
2019
tex_file = generate_tex_file(expression, tex_template, source_type)
2120
dvi_file = tex_to_dvi(tex_file, tex_template.use_ctex)
2221
return dvi_to_svg(dvi_file, use_ctex=tex_template.use_ctex)

0 commit comments

Comments
 (0)