mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
Fix wrong use of "is" and "is not" in Python if-statements
This commit is contained in:
1 parent
39e678ae81
commit
493f257e5e
2 files changed
+3
-3
No files matched your search
@@ -81,7 +81,7 @@ class Instance:
|
||||
port_env = os.environ.get('RESINSIGHT_GRPC_PORT')
|
||||
if port_env:
|
||||
port = int(port_env)
|
||||
if launch_port is not -1:
|
||||
if launch_port != -1:
|
||||
port = launch_port
|
||||
|
||||
if not resinsight_executable:
|
||||
|
||||
Reference in new issue
Block a user