fix temporary file

This commit is contained in:
Jakub Trllo 2023-07-11 17:47:09 +02:00
parent 0fce4a4a34
commit 3f892c1785

View file

@ -288,7 +288,7 @@ def ask_to_login_ui(
"always_on_top": always_on_top,
}
with tempfile.TemporaryFile(
with tempfile.NamedTemporaryFile(
mode="w", prefix="ayon_login", suffix=".json", delete=False
) as tmp:
output = tmp.name