diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-09 16:33:31 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-09 16:33:31 +0200 |
commit | cad971cb0b9bac402e379346ae24a17e5d11d313 (patch) | |
tree | d14baf02e1778fbea2103d025ebd4f2bc9c67eb9 /archaeological_operations/wizards.py | |
parent | 0e1a9779edb4268ba84f0202c85fa4540c1e2341 (diff) | |
download | Ishtar-cad971cb0b9bac402e379346ae24a17e5d11d313.tar.bz2 Ishtar-cad971cb0b9bac402e379346ae24a17e5d11d313.zip |
Tests: fix operation creation wizard
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r-- | archaeological_operations/wizards.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py index b9ff96cad..02d462f66 100644 --- a/archaeological_operations/wizards.py +++ b/archaeological_operations/wizards.py @@ -506,7 +506,7 @@ def has_associated_file(form_name, file_key='associated_file', negate=False): 'step_data'][form_name][form_name + '-' + file_key] if type(file_id) in (list, tuple): file_id = file_id[0] - file_id = int(file_id) + int(file_id) return not negate except ValueError: return negate |