diff --git a/IPython/nbconvert/nbconvertapp.py b/IPython/nbconvert/nbconvertapp.py index a00d80e..b905e60 100755 --- a/IPython/nbconvert/nbconvertapp.py +++ b/IPython/nbconvert/nbconvertapp.py @@ -210,11 +210,11 @@ class NbConvertApp(BaseIPythonApplication): print("Known exporters are:", "\n\t" + "\n\t".join(get_export_names()), file=sys.stderr) - self.exit(-1) + self.exit(1) except ConversionException as e: print("Error while converting '%s': %s" %(notebook_filename, e), file=sys.stderr) - self.exit(-1) + self.exit(1) # except Exception as e: # print("Error: could not export '%s'" % notebook_filename, file=sys.stderr) # print(e, file=sys.stderr)