summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--suds/sax/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/suds/sax/document.py b/suds/sax/document.py
index b5ba22f..170858f 100644
--- a/suds/sax/document.py
+++ b/suds/sax/document.py
@@ -70,7 +70,7 @@ class Document(Element):
s.append(self.DECL)
root = self.root()
if root is not None:
- s.append(self.root().plain())
+ s.append(root.plain())
return ''.join(s)
def __str__(self):