Show More
@@ -92,6 +92,9 b' class NbConvertApp(Application):' | |||||
92 | super(NbConvertApp, self).start() |
|
92 | super(NbConvertApp, self).start() | |
93 |
|
93 | |||
94 | #The last arguments in list will be used by nbconvert |
|
94 | #The last arguments in list will be used by nbconvert | |
|
95 | if len(self.extra_args) is not 3: | |||
|
96 | print( "Wrong number of arguments, use --help flag for usage", file=sys.stderr) | |||
|
97 | sys.exit(-1) | |||
95 | export_type = (self.extra_args)[1] |
|
98 | export_type = (self.extra_args)[1] | |
96 | ipynb_file = (self.extra_args)[2] |
|
99 | ipynb_file = (self.extra_args)[2] | |
97 |
|
100 |
General Comments 0
You need to be logged in to leave comments.
Login now