Show More
@@ -115,12 +115,11 b' class CrashHandler(object):' | |||||
115 |
|
115 | |||
116 | # Use this ONLY for developer debugging (keep commented out for release) |
|
116 | # Use this ONLY for developer debugging (keep commented out for release) | |
117 | #color_scheme = 'Linux' # dbg |
|
117 | #color_scheme = 'Linux' # dbg | |
118 |
|
||||
119 | try: |
|
118 | try: | |
120 | rptdir = self.app.ipython_dir |
|
119 | rptdir = self.app.ipython_dir | |
121 | except: |
|
120 | except: | |
122 | rptdir = os.getcwd() |
|
121 | rptdir = os.getcwd() | |
123 | if not os.path.isdir(rptdir): |
|
122 | if rptdir is None or not os.path.isdir(rptdir): | |
124 | rptdir = os.getcwd() |
|
123 | rptdir = os.getcwd() | |
125 | report_name = os.path.join(rptdir,self.crash_report_fname) |
|
124 | report_name = os.path.join(rptdir,self.crash_report_fname) | |
126 | # write the report filename into the instance dict so it can get |
|
125 | # write the report filename into the instance dict so it can get |
General Comments 0
You need to be logged in to leave comments.
Login now