diff --git a/tools/donate-cpu-server.py b/tools/donate-cpu-server.py index a88e324a1..27d1e61a1 100644 --- a/tools/donate-cpu-server.py +++ b/tools/donate-cpu-server.py @@ -114,6 +114,15 @@ def crashReport(): html += out + '\n' break html += '\n' + + if os.path.isfile('crash-history.txt'): + html += '

history

\n' + html += '
\n'
+        f = open('crash-history.txt')
+        html += f.read()
+        f.close()
+        html += '
' + html += '\n' return html