summaryrefslogtreecommitdiff
path: root/archaeological_operations/wizards.py
diff options
context:
space:
mode:
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")