summaryrefslogtreecommitdiff
path: root/archaeological_operations/wizards.py
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
commit6027775ed86219dd562e3860b28f225c2d0b7f77 (patch)
treea52d22319b15feda35756c609d1f0e4c6b2efc6a /archaeological_operations/wizards.py
parent907cffab1885217f27fc54446d02536f8103f57b (diff)
downloadIshtar-6027775ed86219dd562e3860b28f225c2d0b7f77.tar.bz2
Ishtar-6027775ed86219dd562e3860b28f225c2d0b7f77.zip
Fix town list from archaeological files to operations (refs #1695)
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 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")