donate-cpu-server: try to track crashes better

This commit is contained in:
Daniel Marjamäki 2018-11-28 14:03:54 +01:00
parent 6493db6ca2
commit bbcadb0f9b
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ def server(server_address_port, packages, packageIndex, resultPath):
pos = data.find('\ncount:')
if pos > 0:
count = data[pos+1:data.find('\n', pos+1)]
if count.find('CRASH') > 0:
if count.find('Crash') > 0:
crashHistory.append(strDateTime() + ' ' + res.group(1) + ' ' + count)
writeStringList(FILENAME_CRASH_HISTORY, crashHistory)
else: