diff --git a/client-py3/full/linux/udsclient-template.spec b/client-py3/full/linux/udsclient-template.spec index cea9e930..4b07ab7a 100644 --- a/client-py3/full/linux/udsclient-template.spec +++ b/client-py3/full/linux/udsclient-template.spec @@ -11,7 +11,7 @@ Release: %{release} Summary: Client for Universal Desktop Services (UDS) Broker License: BSD3 Group: Applications/Productivity -Requires: python3-six python3-requests python3-paramiko python3-qt5 +Requires: python3-six python3-requests python3-paramiko python3-qt5 python3-pycrypto Vendor: Virtual Cable S.L.U. URL: http://www.udsenterprise.com Provides: udsclient diff --git a/client-py3/full/src/uds/rest.py b/client-py3/full/src/uds/rest.py index 5857a427..10d0de72 100644 --- a/client-py3/full/src/uds/rest.py +++ b/client-py3/full/src/uds/rest.py @@ -34,6 +34,7 @@ import json import urllib +import urllib.parse from PyQt5.QtCore import pyqtSignal, pyqtSlot from PyQt5.QtCore import QObject, QUrl, QSettings diff --git a/client-py3/full/src/uds/tools.py b/client-py3/full/src/uds/tools.py index 72ffc535..5c4b93dd 100644 --- a/client-py3/full/src/uds/tools.py +++ b/client-py3/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: