Przeglądaj źródła

More specific fix

Steven Silvester 7 lat temu
rodzic
commit
08c6439305
1 zmienionych plików z 1 dodań i 1 usunięć
  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()