Fixed spice bugs. Thanks to a-sh1

This commit is contained in:
Adolfo Gómez García 2020-07-15 14:06:55 +02:00
parent c520a63800
commit 7d4243d72a
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ class RemoteViewerFile:
usb_auto_share = '01'[self.usb_auto_share]
new_usb_auto_share = '01'[self.new_usb_auto_share]
ca = self.ca.strip().replace('\n', '\\\\n') # So we get '\\n' and script works fine after replacement
ca = self.ca.strip().replace('\n', '\\n') # So we get '\\n' and script works fine after replacement
return TEMPLATE.format(
type=self.connectionType,

View File

@ -106,4 +106,4 @@ class SPICETransport(BaseSpiceTransport):
'as_file': r.as_file,
}
return self.getScript('scripts/{}/tunnel.py', osName, sp)
return self.getScript('scripts/{}/direct.py', osName, sp)