fixed temp filename

This commit is contained in:
Adolfo Gómez García 2020-08-27 13:26:46 +02:00
parent 06b7b58dd2
commit 6a9b764e1e

View File

@ -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: