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
commit818463cd01a5f82861058cf75e0f6e794d69f57e (patch)
tree0028c0d8a1a0509680528d3f5f0be539ea4e67de /archaeological_operations/wizards.py
parentb444fdb5b9a7f5b73ed8bd072a2565e7d2f7a8c9 (diff)
downloadIshtar-818463cd01a5f82861058cf75e0f6e794d69f57e.tar.bz2
Ishtar-818463cd01a5f82861058cf75e0f6e794d69f57e.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]])