From 13b9ef1c26bb89349a15be94db7d01512e270d5a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 12 Feb 2021 15:43:15 +0100 Subject: Refactor - clean --- archaeological_operations/wizards.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'archaeological_operations/wizards.py') diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py index fc5ce0bf8..c76bbd313 100644 --- a/archaeological_operations/wizards.py +++ b/archaeological_operations/wizards.py @@ -207,8 +207,9 @@ class OperationWizard(Wizard): has_no_af = [form.prefix for form in forms if form.prefix == 'townsgeneral-operation'] and True if has_no_af: - datas = [[_(u"Warning: No Archaeological File is provided. " - u"If you have forget it return to the first step."), []]]\ + datas = [[ + _("Warning: No Archaeological File is provided. " + "If you have forget it return to the first step."), []]]\ + datas return datas -- cgit v1.2.3