aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-22 17:47:25 +0000
committerGravatar jesopo2019-02-22 17:47:25 +0000
commitdec34850717ba921d05560cd272da5ca657339a2 (patch)
treec55cad78b383e6477a6289a506f5cdffa92f9f44
parentTypo, 'ValuError' -> 'ValueError' (diff)
signature
Clear command Out text when there's nothing left to send
-rw-r--r--modules/commands/outs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands/outs.py b/modules/commands/outs.py
index 7120227f..e82537af 100644
--- a/modules/commands/outs.py
+++ b/modules/commands/outs.py
@@ -43,6 +43,8 @@ class Out(object):
if line.truncated():
line.end_replace(STR_MORE)
self._text = "%s%s" % (STR_CONTINUED, line.truncated())
+ else:
+ self._text = ""
def set_prefix(self, prefix):
self.module_name = prefix