private children
parent
1dcd4278ff
commit
3908750ccb
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…
Reference in New Issue