summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHåkon Vågsether <haakonsv@gmail.com>2017-09-17 23:23:18 +0200
committerHåkon Vågsether <haakonsv@gmail.com>2017-09-17 23:23:18 +0200
commitd82bb0d2ea7cf1d3473fe2b74ed4af180f5a8167 (patch)
treea766c3aec0003edce222f4a91735f268744ae872
parentb014fb6e26d9a363870b477dccc9dfafd890eac0 (diff)
Added missing get_opt() in Param.py
-rw-r--r--grc/core/Param.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/grc/core/Param.py b/grc/core/Param.py
index a1e4c782fb..56855908ea 100644
--- a/grc/core/Param.py
+++ b/grc/core/Param.py
@@ -408,3 +408,6 @@ class Param(Element):
return '(%s)' % v
else:
return v
+
+ def get_opt(self, item):
+ return self.options.attributes[self.get_value()][item]