We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67cfc3b commit a6eeebfCopy full SHA for a6eeebf
1 file changed
lib/takeover/xp_cmdshell.py
@@ -228,7 +228,7 @@ def xpCmdshellEvalCmd(self, cmd, first=None, last=None):
228
elif not (output[-1] or "").strip():
229
output = output[:-1]
230
231
- output = "\n".join(line for line in output)
+ output = "\n".join(line for line in filter(None, output))
232
233
return output
234
0 commit comments