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
commit13b9ef1c26bb89349a15be94db7d01512e270d5a (patch)
treebb7c35ca850f60028c576ee42e3fb95db20a64be /archaeological_operations/wizards.py
parent7e6c628ff9f4d27609efda613b790f87bbeacea1 (diff)
downloadIshtar-13b9ef1c26bb89349a15be94db7d01512e270d5a.tar.bz2
Ishtar-13b9ef1c26bb89349a15be94db7d01512e270d5a.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