Show More
@@ -115,12 +115,11 b' class CrashHandler(object):' | |||
|
115 | 115 | |
|
116 | 116 | # Use this ONLY for developer debugging (keep commented out for release) |
|
117 | 117 | #color_scheme = 'Linux' # dbg |
|
118 | ||
|
119 | 118 | try: |
|
120 | 119 | rptdir = self.app.ipython_dir |
|
121 | 120 | except: |
|
122 | 121 | rptdir = os.getcwd() |
|
123 | if not os.path.isdir(rptdir): | |
|
122 | if rptdir is None or not os.path.isdir(rptdir): | |
|
124 | 123 | rptdir = os.getcwd() |
|
125 | 124 | report_name = os.path.join(rptdir,self.crash_report_fname) |
|
126 | 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