aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Concierge
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Concierge')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs2
-rwxr-xr-xOpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeServer.py10
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
index b4f1a9e..2d1f381 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
@@ -391,7 +391,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Concierge
391 string name = _attendeeNames[uuid]; 391 string name = _attendeeNames[uuid];
392 list.Append(String.Format(" <avatar name=\"{0}\" uuid=\"{1}\" />\n", name, uuid)); 392 list.Append(String.Format(" <avatar name=\"{0}\" uuid=\"{1}\" />\n", name, uuid));
393 } 393 }
394 list.Append("</avatars>"); 394 list.Append("</avatar>");
395 } 395 }
396 string payload = list.ToString(); 396 string payload = list.ToString();
397 397
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeServer.py b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeServer.py
index 4a1a2b0..e5b1fd2 100755
--- a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeServer.py
+++ b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeServer.py
@@ -61,12 +61,12 @@ class ConciergeHandler(BaseHTTPServer.BaseHTTPRequestHandler):
61 61
62 self.logResponse(200) 62 self.logResponse(200)
63 63
64 def dumpXml(self, xml): 64 def dumpXml(xml):
65 logging.debug('[ConciergeHandler] %s', xml.tag) 65 logging.debug('[ConciergeHandler] %s', xml.tag)
66 for attr in xml.attrib: 66 for attr in xml.attrib:
67 logging.debug('[ConciergeHandler] %s [%s] %s', xml.tag, attr, xml.attrib[attr]) 67 logging.debug('[ConciergeHandler] %s [%s] %s', xml.tag, attr, xml.attrib[attr])
68 for kid in xml.getchildren(): 68 for kid in xml.getchildren:
69 self.dumpXml(kid) 69 dumpXml(kid)
70 70
71 def do_POST(self): 71 def do_POST(self):
72 self.logRequest() 72 self.logRequest()
@@ -80,8 +80,8 @@ class ConciergeHandler(BaseHTTPServer.BaseHTTPRequestHandler):
80 80
81 logging.debug('[ConciergeHandler] POST: content: %s', content) 81 logging.debug('[ConciergeHandler] POST: content: %s', content)
82 try: 82 try:
83 postXml = ET.fromstring(content) 83 postXml = ET.parse(content)
84 self.dumpXml(postXml) 84 dumpXml(postXml)
85 except xml.parsers.expat.ExpatError, xmlError: 85 except xml.parsers.expat.ExpatError, xmlError:
86 logging.error('[ConciergeHandler] POST illformed:%s', xmlError) 86 logging.error('[ConciergeHandler] POST illformed:%s', xmlError)
87 self.send_response(500) 87 self.send_response(500)