Browse Source

More specific fix

Steven Silvester 7 năm trước cách đây
mục cha
commit
08c6439305
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()