Steven Silvester 7 лет назад
Родитель
Сommit
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()