summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-04-21 09:26:06 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-04-21 09:26:06 +0200
commit984133f387d822479ddcdb1fc30eb5b4579d21fc (patch)
treed098695b611b724329da25e9fc8225e4a096e90c
parent126f4cb4c1c27e655e58401799de6bbab14431c4 (diff)
downloadIshtar-984133f387d822479ddcdb1fc30eb5b4579d21fc.tar.bz2
Ishtar-984133f387d822479ddcdb1fc30eb5b4579d21fc.zip
Fix operation wizard
-rw-r--r--archaeological_operations/wizards.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py
index c90b6fa8a..c51b88d0b 100644
--- a/archaeological_operations/wizards.py
+++ b/archaeological_operations/wizards.py
@@ -361,6 +361,7 @@ class OperationAdministrativeActWizard(OperationWizard):
step = self.steps.current
if step.startswith('final-'):
general_form_key = 'administrativeact-' + self.url_name
+ act_type = None
try:
act_type = models.ActType.objects.get(
pk=self.session_get_value(general_form_key, "act_type"))