Ver Fonte

More specific fix

Steven Silvester há 7 anos atrás
pai
commit
08c6439305
1 ficheiros alterados com 1 adições e 1 exclusões
  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()