summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sploit/comm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sploit/comm.py b/sploit/comm.py
index 58504d3..0ba6e89 100644
--- a/sploit/comm.py
+++ b/sploit/comm.py
@@ -91,7 +91,7 @@ class Comm:
if self.logonwrite : ilog(data, file=sys.stdout, color=ALT)
if self.readonwrite : self.readall_nonblock()
- def writeline(self, data):
+ def writeline(self, data=b''):
self.write(data + b'\n')
def interact(self):