From 3f892c17855dbdf461e55dde6984d02710dd60f0 Mon Sep 17 00:00:00 2001 From: Jakub Trllo Date: Tue, 11 Jul 2023 17:47:09 +0200 Subject: [PATCH] fix temporary file --- common/ayon_common/connection/credentials.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/ayon_common/connection/credentials.py b/common/ayon_common/connection/credentials.py index ad2ca9a6b2..7f70cb7992 100644 --- a/common/ayon_common/connection/credentials.py +++ b/common/ayon_common/connection/credentials.py @@ -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