Fix owner not set
This commit is contained in:
parent
249c48dfa1
commit
f8c6037538
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
DoxyGen/DoxyWarnLogfile.txt
|
DoxyGen/DoxyWarnLogfile.txt
|
||||||
**/__pycache__/*
|
**/__pycache__/*
|
||||||
|
RoboidControl.egg-info/
|
||||||
|
@ -58,6 +58,8 @@ class Thing:
|
|||||||
elif owner == None:
|
elif owner == None:
|
||||||
from RoboidControl.ParticipantUDP import ParticipantUDP
|
from RoboidControl.ParticipantUDP import ParticipantUDP
|
||||||
self.owner = ParticipantUDP.Isolated()
|
self.owner = ParticipantUDP.Isolated()
|
||||||
|
else:
|
||||||
|
self.owner = owner
|
||||||
|
|
||||||
## The children of this thing
|
## The children of this thing
|
||||||
self.children = []
|
self.children = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user