diff --git a/client-py3/full/src/uds/tools.py b/client-py3/full/src/uds/tools.py index 5c4b93dd..9b50b01d 100644 --- a/client-py3/full/src/uds/tools.py +++ b/client-py3/full/src/uds/tools.py @@ -129,10 +129,6 @@ def getHostName(): In fact, it's a wrapper for socket.gethostname() ''' hostname = socket.gethostname() - if 'win32' in sys.platform: - hostname = hostname.decode(sys_fs_enc) - - hostname = six.text_type(hostname) logger.info('Hostname: %s', hostname) return hostname