private children
parent
1dcd4278ff
commit
3908750ccb
6
run.py
6
run.py
|
@ -11,7 +11,7 @@ import subprocess
|
||||||
|
|
||||||
|
|
||||||
class Server:
|
class Server:
|
||||||
children = list()
|
_children = list()
|
||||||
|
|
||||||
host = ('127.0.0.1', 5000)
|
host = ('127.0.0.1', 5000)
|
||||||
sock = socket.socket()
|
sock = socket.socket()
|
||||||
|
@ -55,8 +55,8 @@ class Server:
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def children(self):
|
def children(self):
|
||||||
children = self.children
|
children = self._children
|
||||||
self.children = list()
|
self._children = list()
|
||||||
return children
|
return children
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue