diff --git a/VERSION b/VERSION index a8c9732b..3ab99c29 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2014.01.06.10.55.29 +Version 2.8.2-stable+timestamp.2014.01.07.02.13.10 diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 2a417c78..9bc86c4e 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -3204,7 +3204,8 @@ class ExporterHTML(ExportClass): ExportClass.__init__(self, rows) def export(self): - return '\n
\n\n\n\n%s\n\n' % (self.rows.xml() or '') + xml = self.rows.xml() if self.rows else '' + return '\n\n\n\n\n%s\n\n' % (xml or '') class ExporterXML(ExportClass): label = 'XML'