Make "print" compatible between Py2 & Py3

This commit is contained in:
Ivan Kravets
2018-10-27 20:22:11 +03:00
parent 729178731c
commit 080369f597
7 changed files with 32 additions and 32 deletions

View File

@@ -100,7 +100,7 @@ class AsyncPipe(Thread):
if self.outcallback:
self.outcallback(line)
else:
print line
print(line)
self._pipe_reader.close()
def close(self):