We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 792c876 commit 2a9f266Copy full SHA for 2a9f266
python/cdo/cdo.py
@@ -313,7 +313,9 @@ def __getOperators(self): # {{{
313
"utf-8")[0:-1].split(os.linesep)))
314
315
for i, op in enumerate(ops):
316
- operators[op] = int(ios[i][1:len(ios[i]) - 1].split('|')[1])
+ _ios_splitted = ios[i][1:len(ios[i]) - 1].split('|')
317
+ if len(_ios_splitted) > 1 :
318
+ operators[op] = int(_ios_splitted[1])
319
320
return operators # }}}
321
0 commit comments