Merge pull request #67 from Tecnativa/8.0-report_xls-protected_import

[FIX][report_xls] Add a variable when import fails.
This commit is contained in:
Pedro M. Baeza
2016-08-17 19:10:51 +02:00
committed by GitHub

View File

@@ -52,6 +52,7 @@ try:
except ImportError: # pragma: no cover
_logger.debug("Cannot import xlwt. This module will not be functional.")
xls_types = xls_types_default
default_style = None
class AttrDict(dict):