Skip to content

Commit

Permalink
move the sanitization to the try/except block
Browse files Browse the repository at this point in the history
as it may fail (and it did, on Main)
  • Loading branch information
martenson committed Jun 21, 2018
1 parent 6d5be41 commit 572f38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/grt/export.py
Expand Up @@ -380,9 +380,9 @@ def annotate(label, human_label=None):
if job_tool_map[param[0]] in blacklisted_tools:
continue

sanitized = san.sanitize_data(job_tool_map[param[0]], param[1], param[2])

try:
sanitized = san.sanitize_data(job_tool_map[param[0]], param[1], param[2])

handle_params.write(str(param[0]))
handle_params.write('\t')
handle_params.write(param[1])
Expand Down

0 comments on commit 572f38d

Please sign in to comment.