From b5298d7adad4aba596602fba419b06404f18aaa0 Mon Sep 17 00:00:00 2001 From: John W Kerns Date: Fri, 1 Sep 2017 01:53:36 -0700 Subject: [PATCH] Cleaned SSL send --- checkmyip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkmyip.py b/checkmyip.py index 61963f6..6d5bcf5 100644 --- a/checkmyip.py +++ b/checkmyip.py @@ -101,7 +101,7 @@ def ssh_talker(client, addr): server.event.wait(10) valdict = {"ip": cleanip(addr[0]), "port": addr[1]} #chan.send(j2format(j2log, valdict)) - chan.send('\r\n\r\n%s\r\n\r\n' % j2format(j2send, valdict)) + chan.send('%s' % j2format(j2send, valdict)) chan.makefile('rU').readline().strip('\r\n') chan.close()