##// END OF EJS Templates
exit if cwd doesn't exist...
Min RK -
Show More
@@ -170,9 +170,9 b' class BaseIPythonApplication(Application):'
170 try:
170 try:
171 directory = py3compat.getcwd()
171 directory = py3compat.getcwd()
172 except:
172 except:
173 # raise exception
173 # exit if cwd doesn't exist
174 self.log.error("Current working directory doesn't exist.")
174 self.log.error("Current working directory doesn't exist.")
175 raise
175 self.exit(1)
176
176
177 #-------------------------------------------------------------------------
177 #-------------------------------------------------------------------------
178 # Various stages of Application creation
178 # Various stages of Application creation
General Comments 0
You need to be logged in to leave comments. Login now