aboutsummaryrefslogtreecommitdiff
path: root/optinterpreter.py
diff options
context:
space:
mode:
Diffstat (limited to 'optinterpreter.py')
-rw-r--r--optinterpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/optinterpreter.py b/optinterpreter.py
index f111610..672df51 100644
--- a/optinterpreter.py
+++ b/optinterpreter.py
@@ -100,7 +100,7 @@ class OptionInterpreter:
elif isinstance(arg, mparser.ArrayNode):
return [self.reduce_single(curarg) for curarg in arg.args.arguments]
elif isinstance(arg, mparser.NumberNode):
- return arg.get_value()
+ return arg.value
else:
raise OptionException('Arguments may only be string, int, bool, or array of those.')