From 6a9b764e1e7113ad773d0d0de3a2beaa9eb15a99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Thu, 27 Aug 2020 13:26:46 +0200 Subject: [PATCH] fixed temp filename --- client/full/src/uds/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/full/src/uds/tools.py b/client/full/src/uds/tools.py index 72ffc535..5c4b93dd 100644 --- a/client/full/src/uds/tools.py +++ b/client/full/src/uds/tools.py @@ -72,7 +72,7 @@ nVgtClKcDDlSaBsO875WDR0CAwEAAQ== def saveTempFile(content, filename=None): if filename is None: - filename = b''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(16)) + filename = ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(16)) filename = filename + '.uds' if 'win32' in sys.platform: