Fix typo causing Result object reusage between tests

This commit is contained in:
AndyGrant committed 2018-06-12 22:38:52 -04:00
1 parent 9b02605802
commit beb1df32ef
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ def getResult(machine, test):
# Can find an existing result by test and machine
results = Result.objects.filter(test=test)
results = list(Result.objects.filter(machine=machine))
results = list(results.filter(machine=machine))
if results != []: return results[0]
# Must make a new one for the machine