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 | 9f08d1f09a63c1445aac8b4afe015f4d88391501 (patch) | |
tree | d14baf02e1778fbea2103d025ebd4f2bc9c67eb9 /archaeological_operations/wizards.py | |
parent | 77c3070f669854e06196dd1220d747b44942e210 (diff) | |
download | Ishtar-9f08d1f09a63c1445aac8b4afe015f4d88391501.tar.bz2 Ishtar-9f08d1f09a63c1445aac8b4afe015f4d88391501.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 |