Fix temporary file suffix svg -> .svg
parent
1eb7a022ff
commit
deb2e031a1
|
@ -52,7 +52,8 @@ def generate_outfile(
|
||||||
cachedir.mkdir(parents=True, exist_ok=True)
|
cachedir.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
with tempfile.NamedTemporaryFile(
|
with tempfile.NamedTemporaryFile(
|
||||||
suffix="svg",
|
suffix=".svg",
|
||||||
|
mode = "w",
|
||||||
dir = str(cachedir),
|
dir = str(cachedir),
|
||||||
) as tmpsvg:
|
) as tmpsvg:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue