Show More
@@ -203,9 +203,6 b' class NbConvertApp(BaseIPythonApplication):' | |||
|
203 | 203 | "\n\t" + "\n\t".join(get_export_names()), |
|
204 | 204 | file=sys.stderr) |
|
205 | 205 | sys.exit(-1) |
|
206 | # except Exception as e: | |
|
207 | # print("Error: could not export '%s'" % notebook_filename, file=sys.stderr) | |
|
208 | # print(e, file=sys.stderr) | |
|
209 | 206 | else: |
|
210 | 207 | self.writer.write(output, resources, notebook_name=notebook_name) |
|
211 | 208 | conversion_success += 1 |
@@ -213,6 +210,7 b' class NbConvertApp(BaseIPythonApplication):' | |||
|
213 | 210 | # If nothing was converted successfully, help the user. |
|
214 | 211 | if conversion_success == 0: |
|
215 | 212 | self.print_help() |
|
213 | sys.exit(-1) | |
|
216 | 214 | |
|
217 | 215 | |
|
218 | 216 | #----------------------------------------------------------------------------- |
General Comments 0
You need to be logged in to leave comments.
Login now