[IMP] web_widget_mpld3_chart: pre-commit execution

This commit is contained in:
Franco Leyes
2024-11-23 17:28:10 -03:00
parent 78310268bd
commit f0bf43a759
15 changed files with 141 additions and 119 deletions

View File

@@ -11,12 +11,11 @@ _logger = logging.getLogger(__name__)
try:
import mpld3
from bs4 import BeautifulSoup
except (ImportError, IOError) as err:
except (OSError, ImportError) as err:
_logger.debug(err)
class AbstractMpld3Parser(models.AbstractModel):
_name = "abstract.mpld3.parser"
_description = "Utility to parse ploot figure to json data for widget Mpld3"