From be159e2a8ae7a615e8763a1cfc58e4eb455ab5b2 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 7 Jul 2017 09:24:27 +0100 Subject: [PATCH] Rename imports to reflect new names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These were changed in version 0.5.0 of pyexcel, when they changed how plugins are loaded – see: https://github.com/pyexcel/pyexcel/blob/a12cef0bf4bd4b139b5773c52872f03dee70d80b/CHANGELOG.rst#050---19062017 --- app/utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/utils.py b/app/utils.py index 62daaeab95..a0154b93f3 100644 --- a/app/utils.py +++ b/app/utils.py @@ -18,10 +18,10 @@ ) from flask_login import current_user import pyexcel -import pyexcel.ext.io -import pyexcel.ext.xls -import pyexcel.ext.xlsx -import pyexcel.ext.ods3 +import pyexcel_io +import pyexcel_xls +import pyexcel_xlsx +import pyexcel_ods3 from notifications_utils.template import ( SMSPreviewTemplate,