Browse Source

private children

master
Xyc0 4 years ago
parent
commit
3908750ccb
  1. 6
      run.py

6
run.py

@ -11,7 +11,7 @@ import subprocess
class Server:
children = list()
_children = list()
host = ('127.0.0.1', 5000)
sock = socket.socket()
@ -55,8 +55,8 @@ class Server:
@property
def children(self):
children = self.children
self.children = list()
children = self._children
self._children = list()
return children

Loading…
Cancel
Save