summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-08-17 18:39:35 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-08-17 18:39:35 +0200
commitf5300f42512e2e9cd9eca0f27433a4de6325010b (patch)
tree3913112c49bf4e8cb87ddc429b7578060bb73cb5
parenta08a9104888ab9ed68b288b2ccf68a24a40ed761 (diff)
downloadIshtar-f5300f42512e2e9cd9eca0f27433a4de6325010b.tar.bz2
Ishtar-f5300f42512e2e9cd9eca0f27433a4de6325010b.zip
Archaeological files: fix parcel saving
-rw-r--r--archaeological_files/wizards.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_files/wizards.py b/archaeological_files/wizards.py
index 26dc90f21..00949b8db 100644
--- a/archaeological_files/wizards.py
+++ b/archaeological_files/wizards.py
@@ -96,7 +96,7 @@ class FileWizard(OperationWizard):
obj.parcels.clear()
for form in form_list:
if not hasattr(form, 'prefix') \
- or not form.prefix.startswith('parcels-') \
+ or not form.prefix.startswith(self.parcel_step_key) \
or not hasattr(form, 'forms'):
continue
for frm in form.forms: