From a92cabeb2bd9f50a91970592771c4da22840bec6 Mon Sep 17 00:00:00 2001 From: Steve Eardley Date: Thu, 23 Nov 2023 09:29:28 +0000 Subject: [PATCH] fix import for constants --- portality/view/publisher.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/portality/view/publisher.py b/portality/view/publisher.py index cf355060bf..86cd10bfdc 100644 --- a/portality/view/publisher.py +++ b/portality/view/publisher.py @@ -2,9 +2,8 @@ from flask import render_template, abort, redirect, url_for, flash from flask_login import current_user, login_required -import constants from portality.app_email import EmailException -from portality import models +from portality import models, constants from portality.bll.exceptions import AuthoriseException, ArticleMergeConflict, DuplicateArticleException, ArticleNotAcceptable from portality.decorators import ssl_required, restrict_to_role, write_required from portality.dao import ESMappingMissingError