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