##// END OF EJS Templates
crashhandler: Cast rptdir to Path
user202729 -
Show More
@@ -157,10 +157,10 class CrashHandler(object):
157 157 # Use this ONLY for developer debugging (keep commented out for release)
158 158 #color_scheme = 'Linux' # dbg
159 159 try:
160 rptdir = self.app.ipython_dir
160 rptdir = Path(self.app.ipython_dir)
161 161 except:
162 162 rptdir = Path.cwd()
163 if rptdir is None or not Path.is_dir(rptdir):
163 if not rptdir.is_dir():
164 164 rptdir = Path.cwd()
165 165 report_name = rptdir / self.crash_report_fname
166 166 # 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