1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-23 17:34:17 +03:00

fixed uds actor parameters

This commit is contained in:
Adolfo Gómez García 2020-01-27 14:01:53 +01:00
parent 1518cc0294
commit 9b2dd802d7

View File

@ -398,7 +398,7 @@ class CommonService: # pylint: disable=too-many-instance-attributes
Base preconnect executes the preconnect command
'''
if self._cfg.pre_command:
self.execute(self._cfg.pre_command + ' "{}" "{}" "{}" "{}"'.format(userName.replace('"', '%22'), protocol, ip, hostname), 'preConnect')
self.execute(self._cfg.pre_command + ' {} {} {} {}'.format(userName.replace('"', '%22'), protocol, ip, hostname), 'preConnect')
return 'ok'