|
|
@ -70,6 +70,7 @@ class ConnectionProcess(object):
|
|
|
|
self.connection._connect()
|
|
|
|
self.connection._connect()
|
|
|
|
self.connection._socket_path = self.socket_path
|
|
|
|
self.connection._socket_path = self.socket_path
|
|
|
|
self.srv.register(self.connection)
|
|
|
|
self.srv.register(self.connection)
|
|
|
|
|
|
|
|
messages.extend(sys.stdout.getvalue().splitlines())
|
|
|
|
messages.append('connection to remote device started successfully')
|
|
|
|
messages.append('connection to remote device started successfully')
|
|
|
|
|
|
|
|
|
|
|
|
self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
|
|
|
self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
|
|
@ -189,6 +190,7 @@ def main():
|
|
|
|
|
|
|
|
|
|
|
|
play_context = PlayContext()
|
|
|
|
play_context = PlayContext()
|
|
|
|
play_context.deserialize(pc_data)
|
|
|
|
play_context.deserialize(pc_data)
|
|
|
|
|
|
|
|
display.verbosity = play_context.verbosity
|
|
|
|
|
|
|
|
|
|
|
|
except Exception as e:
|
|
|
|
except Exception as e:
|
|
|
|
rc = 1
|
|
|
|
rc = 1
|
|
|
@ -278,6 +280,7 @@ def main():
|
|
|
|
|
|
|
|
|
|
|
|
sys.exit(rc)
|
|
|
|
sys.exit(rc)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
if __name__ == '__main__':
|
|
|
|
display = Display()
|
|
|
|
display = Display()
|
|
|
|
main()
|
|
|
|
main()
|
|
|
|