This commit is contained in:
Marcel Nijenhof
2019-02-15 17:27:24 +01:00
3 changed files with 15 additions and 10 deletions

2
siprun
View File

@@ -63,7 +63,7 @@ def main():
cmd = cmd.replace('\n', '\r')
print("> [%s]" % (cmd.strip('\r')))
lmwsip.send(cmd)
print("< [%s]" % (lmwsip.recv().decode('utf-8').strip('\r')))
print("< [%s]" % (lmwsip.recv().strip('\r')))
f.close()
if __name__ == "__main__":