mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Python: Fix wrong use of enumerate
This commit is contained in:
@@ -93,7 +93,7 @@ class Instance:
|
|||||||
parameters.append("--console")
|
parameters.append("--console")
|
||||||
|
|
||||||
# Stringify all parameters
|
# Stringify all parameters
|
||||||
for i in enumerate(parameters):
|
for i in range(0, len(parameters)):
|
||||||
parameters[i] = str(parameters[i])
|
parameters[i] = str(parameters[i])
|
||||||
|
|
||||||
pid = os.spawnv(os.P_NOWAIT, resinsight_executable, parameters)
|
pid = os.spawnv(os.P_NOWAIT, resinsight_executable, parameters)
|
||||||
|
|||||||
Reference in New Issue
Block a user