Skip to content

Commit f9f9495

Browse files
authored
Merge pull request #274 from CybercentreCanada/hotfix/partial_tree
Make sure file tree is not cached while submission is not completed
2 parents 0a97d60 + 6d6492e commit f9f9495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assemblyline/datastore/helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def get_or_create_file_tree(self, submission, max_depth, cl_engine=forge.get_cla
553553
"partial": False
554554
}
555555

556-
partial = False
556+
partial = submission['state'] != 'completed'
557557
files = {}
558558
scores = {}
559559
missing_files = []

0 commit comments

Comments
 (0)