enabled test_appadmin, fix markmin2html, fix main.py

This commit is contained in:
ilvalle
2016-06-15 20:17:58 +02:00
parent 0f648eee56
commit 2aeb063890
10 changed files with 31 additions and 32 deletions
+2 -1
View File
@@ -974,7 +974,8 @@ class DIV(XmlComponent):
"""
str(COMPONENT) returns COMPONENT.xml()
"""
return self.xml()
# In PY3 __str__ cannot return bytes (TypeError: __str__ returned non-string (type bytes))
return to_native(self.xml())
def flatten(self, render=None):
"""