forked from shaba/openuds
Fixed smartcard parameter when empty
This commit is contained in:
parent
9cfc348ee6
commit
442b78ef2e
@ -10,6 +10,6 @@ Package: udsclient
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: python-paramiko (>=0.8.2), python-qt4 (>=4.9), python-six(>=1.1), python (>=2.7), rdesktop | freerdp-x11, desktop-file-utils, ${misc:Depends}
|
||||
Depends: python-paramiko (>=0.8.2), python-qt4 (>=4.9), python-six(>=1.1), python (>=2.7), freerdp-x11 | rdesktop, desktop-file-utils, ${misc:Depends}
|
||||
Description: Client connector for Universal Desktop Services (UDS) Broker
|
||||
This package provides the required components to allow this machine to connect to services provided by UDS Broker.
|
||||
|
@ -39,7 +39,7 @@ from uds.core.util import OsDetector
|
||||
import six
|
||||
import shlex
|
||||
|
||||
__updated__ = '2017-12-18'
|
||||
__updated__ = '2017-12-19'
|
||||
|
||||
|
||||
class RDPFile(object):
|
||||
@ -100,8 +100,11 @@ class RDPFile(object):
|
||||
if self.enableClipboard:
|
||||
params.append('/clipboard')
|
||||
|
||||
if self.redirectSmartcards and self.smartcardString not in (None, ''):
|
||||
params.append('/smartcard:{}'.format(self.smartcardString))
|
||||
if self.redirectSmartcards:
|
||||
if self.smartcardString not in (None, ''):
|
||||
params.append('/smartcard:{}'.format(self.smartcardString))
|
||||
else:
|
||||
params.append('/smartcard')
|
||||
|
||||
if self.redirectAudio:
|
||||
if self.alsa:
|
||||
|
Loading…
x
Reference in New Issue
Block a user