From 4969b38207a9c4d399557f2cd63217e18af1b833 Mon Sep 17 00:00:00 2001 From: Sebastian Hoffmann Date: Wed, 20 Aug 2014 01:14:20 +0200 Subject: [PATCH] Typo fixed. --- direct/src/distributed/AstronInternalRepository.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/direct/src/distributed/AstronInternalRepository.py b/direct/src/distributed/AstronInternalRepository.py index 31bdeb89f6..72224c13a3 100644 --- a/direct/src/distributed/AstronInternalRepository.py +++ b/direct/src/distributed/AstronInternalRepository.py @@ -98,6 +98,7 @@ class AstronInternalRepository(ConnectionRepository): def __init__(self, baseChannel, serverId=None, dcFileNames = None, dcSuffix = 'AI', connectMethod = None, threadedNet = None): + self.districtId = 0 if connectMethod is None: connectMethod = self.CM_HTTP ConnectionRepository.__init__(self, connectMethod, config, hasOwnerView = False, threadedNet = threadedNet) @@ -595,7 +596,7 @@ class AstronInternalRepository(ConnectionRepository): """ dg = PyDatagram() - dg.addServerHeader(clientChanel, self.ourChannel, CLIENTAGENT_ADD_INTEREST) + dg.addServerHeader(clientChannel, self.ourChannel, CLIENTAGENT_ADD_INTEREST) dg.add_uint16(interestId) dg.add_uint32(parentId) dg.add_uint32(zoneId)