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

[FIX][report_xls] Add a variable when import fails.
pull/68/head
Pedro M. Baeza 2016-08-17 19:10:51 +02:00 committed by GitHub
commit 21d65b4563
1 changed files with 1 additions and 0 deletions

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):