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:
parent
0a6128de0f
commit
8209adfe91
@ -93,7 +93,7 @@ class Instance:
|
||||
parameters.append("--console")
|
||||
|
||||
# Stringify all parameters
|
||||
for i in enumerate(parameters):
|
||||
for i in range(0, len(parameters)):
|
||||
parameters[i] = str(parameters[i])
|
||||
|
||||
pid = os.spawnv(os.P_NOWAIT, resinsight_executable, parameters)
|
||||
|
Loading…
Reference in New Issue
Block a user