ソースを参照

More specific fix

Steven Silvester 7 年 前
コミット
08c6439305
1 ファイル変更1 行追加1 行削除
  1. 1 1
      jupyterlab/commands.py

+ 1 - 1
jupyterlab/commands.py

@@ -83,7 +83,7 @@ def run(cmd, **kwargs):
         logger.info(output)
         raise error
     finally:
-        if not proc.returncode:
+        if proc.returncode is None:
             proc.terminate()