summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2014-03-04 16:56:42 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2014-03-04 16:56:42 +0100
commit37054a6605097a6b2a86050bf85ff1370947a5e4 (patch)
treea52d22319b15feda35756c609d1f0e4c6b2efc6a
parent34e81ba6f71bafab58088a762cd1bc5f5f5886bd (diff)
downloadIshtar-37054a6605097a6b2a86050bf85ff1370947a5e4.tar.bz2
Ishtar-37054a6605097a6b2a86050bf85ff1370947a5e4.zip
Fix town list from archaeological files to operations (refs #1695)
-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 ed568a943..cc9e87118 100644
--- a/archaeological_operations/wizards.py
+++ b/archaeological_operations/wizards.py
@@ -92,7 +92,7 @@ class OperationWizard(Wizard):
Obtention des villes disponibles
"""
general_form_key = 'general-' + self.url_name
- if FILES_AVAILABLE:
+ if not FILES_AVAILABLE:
return -1
towns = []
file_id = self.session_get_value(general_form_key, "associated_file")