diff --git a/tools/donate-cpu-server.py b/tools/donate-cpu-server.py index 27d1e61a1..b0842d484 100644 --- a/tools/donate-cpu-server.py +++ b/tools/donate-cpu-server.py @@ -115,10 +115,11 @@ def crashReport(): break html += '\n' - if os.path.isfile('crash-history.txt'): + FILENAME_CRASH_HISTORY = os.path.expanduser('~/daca@home/crash-history.txt') + if os.path.isfile(FILENAME_CRASH_HISTORY): html += '

history

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