typo crash fix

This commit is contained in:
Darren Ranalli 2006-06-06 02:07:21 +00:00
parent bb3f17e923
commit 2e005bf840
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class DistributedNodeAI(DistributedObjectAI.DistributedObjectAI, NodePath):
def setParentStr(self, parentToken):
self.notify.debug('setParentStr(%s): %s' % (self.doId, parentToken))
if len(parentTokenStr) > 0:
if len(parentToken) > 0:
self.do_setParent(parentToken)
def setParent(self, parentToken):