Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ec37b1 commit ce67156Copy full SHA for ce67156
1 file changed
plugins/dbms/mssqlserver/filesystem.py
@@ -180,7 +180,6 @@ def _stackedWriteFilePS(self, tmpPath, wFileContent, dFile, fileType):
180
#psString = """$Content = Get-Content -Path %s -Encoding Byte
181
#$Base64 = [System.Convert]::ToBase64String($Content)
182
psString = """
183
- $Base64 = [System.Convert]::ToBase64String($Content)
184
$Content = [System.Convert]::FromBase64String("%s")
185
Set-Content -Path %s -Value $Content -Encoding Byte
186
""" % (encodedFileContent, randPSScriptPath)
0 commit comments