##// END OF EJS Templates
Rename nbconvert entry point to the launch_new_instance.
Brian E. Granger -
Show More
@@ -200,16 +200,13 b' class NbConvertApp(Application):'
200 print(KEYS_PROMPT_BODY , file=sys.stderr)
200 print(KEYS_PROMPT_BODY , file=sys.stderr)
201
201
202 #-----------------------------------------------------------------------------
202 #-----------------------------------------------------------------------------
203 #Script main
203 # Main entry point
204 #-----------------------------------------------------------------------------
204 #-----------------------------------------------------------------------------
205
205
206 def main():
206 def launch_new_instance():
207 """Application entry point"""
207 """Application entry point"""
208
208
209 app = NbConvertApp.instance()
209 app = NbConvertApp.instance()
210 app.description = __doc__
210 app.description = __doc__
211 app.start(argv=sys.argv)
211 app.start(argv=sys.argv)
212
212
213 #Check to see if python is calling this file directly.
214 if __name__ == '__main__':
215 main()
General Comments 0
You need to be logged in to leave comments. Login now