private children

master
Xyc0 2017-08-27 00:33:49 +00:00
parent 1dcd4278ff
commit 3908750ccb
1 changed files with 3 additions and 3 deletions

6
run.py
View File

@ -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