summaryrefslogtreecommitdiff
path: root/archaeological_operations/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2014-01-15 00:34:44 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2014-01-15 00:34:44 +0100
commitcb8cb1f71c931caaa117496c8488255ef34fe9cc (patch)
tree0028c0d8a1a0509680528d3f5f0be539ea4e67de /archaeological_operations/wizards.py
parent61dc83b0d760501e00b533ec7f8eadcebaf9d738 (diff)
downloadIshtar-cb8cb1f71c931caaa117496c8488255ef34fe9cc.tar.bz2
Ishtar-cb8cb1f71c931caaa117496c8488255ef34fe9cc.zip
Fix direct modification by URL ("Modify" button) (refs #1615)
Change nature of data initialization at first step
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r--archaeological_operations/wizards.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py
index d816cf9aa..6d25812eb 100644
--- a/archaeological_operations/wizards.py
+++ b/archaeological_operations/wizards.py
@@ -323,7 +323,7 @@ class OperationAdministrativeActWizard(OperationWizard):
r = r[k]
else:
break
- if level == len(keys): # the whole tree as been traversed
+ if level == len(keys): # the whole list as been traversed
# redirect to the generated doc
dct['redirect'] = reverse('generatedoc-administrativeactop',
args=[admact.pk, r[0]])