Browse Source

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 8 years ago
committed by GitHub
parent
commit
21d65b4563
  1. 1
      report_xls/report_xls.py

1
report_xls/report_xls.py

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

Loading…
Cancel
Save