Fix for an Issue #188

This commit is contained in:
Miroslav Stampar 2012-09-20 11:30:07 +02:00
parent 67cfc3b492
commit a6eeebfca8

View File

@ -228,7 +228,7 @@ class xp_cmdshell:
elif not (output[-1] or "").strip(): elif not (output[-1] or "").strip():
output = output[:-1] output = output[:-1]
output = "\n".join(line for line in output) output = "\n".join(line for line in filter(None, output))
return output return output