summaryrefslogtreecommitdiff
path: root/archaeological_operations/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-12 15:43:15 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:24 +0100
commit6e4f7a0390b7f49ce79f0e15e07e1d6df309f3ce (patch)
treebb7c35ca850f60028c576ee42e3fb95db20a64be /archaeological_operations/wizards.py
parent8ec062dab58750d8eb7fc0217d7adcf71d222747 (diff)
downloadIshtar-6e4f7a0390b7f49ce79f0e15e07e1d6df309f3ce.tar.bz2
Ishtar-6e4f7a0390b7f49ce79f0e15e07e1d6df309f3ce.zip
Refactor - clean
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r--archaeological_operations/wizards.py5
1 files changed, 3 insertions, 2 deletions
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