* Updated dependency for rpms (pycrypto) for UDS

* Included "urllib.parse" as import (not all platforms includes it on "urllib" import)
* Fixed stupid "b" on tools
This commit is contained in:
Adolfo Gómez García 2020-08-27 14:13:27 +02:00
parent 6a9b764e1e
commit a527ff326d
3 changed files with 3 additions and 2 deletions

View File

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

View File

@ -34,6 +34,7 @@
import json
import urllib
import urllib.parse
from PyQt5.QtCore import pyqtSignal, pyqtSlot
from PyQt5.QtCore import QObject, QUrl, QSettings

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: