Skip to content

Commit

Permalink
Fix regression introduced by 2d3f38c
Browse files Browse the repository at this point in the history
  • Loading branch information
wil93 authored and stefano-maggiolo committed Jan 13, 2016
1 parent dbe42d3 commit 414a19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmstaskenv/Test.py
Expand Up @@ -179,7 +179,7 @@ def test_testcases(base_dir, solution, language, assume=None):

# Subtasks scoring
subtasks = json.loads(dataset.score_type_parameters)
if len(subtasks) == 0:
if not isinstance(subtasks, list) or len(subtasks) == 0:
subtasks = [[100, len(info)]]

if dataset.score_type == 'GroupMin':
Expand Down

0 comments on commit 414a19c

Please sign in to comment.