Skip to content

Commit 3b9013f

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

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
@@ -559,7 +559,7 @@ def get_or_create_file_tree(self, submission, max_depth, cl_engine=forge.get_cla
559559
"partial": False
560560
}
561561

562-
partial = False
562+
partial = submission['state'] != 'completed'
563563
files = {}
564564
scores = {}
565565
missing_files = []

0 commit comments

Comments
 (0)