Skip to content

Commit

Permalink
Return to idle after complete
Browse files Browse the repository at this point in the history
  • Loading branch information
Golf Player committed Jun 1, 2020
1 parent 8440dbf commit 1c923a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nbclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ async def async_execute(self, reset_kc=False, **kwargs):
self.nb.metadata['language_info'] = info_msg['content']['language_info']
self.set_widgets_metadata()
self._update_state(ExecutionState.COMPLETE)
self._update_state(ExecutionState.IDLE)
return self.nb

execute = run_sync(async_execute)
Expand Down

0 comments on commit 1c923a2

Please sign in to comment.