summaryrefslogtreecommitdiff
path: root/grc/python
diff options
context:
space:
mode:
authorJosh Blum2009-09-06 01:58:25 -0700
committerJosh Blum2009-09-06 01:58:25 -0700
commit6b1d8817a7fc6dd99a770cb11fac7ca48a3c81b0 (patch)
tree9afb4f16562d64aa44682fb9b7d19fbc2031e9b1 /grc/python
parente39507bf32666f9b17d2249106aac0d6cbcacc58 (diff)
downloadgnuradio-6b1d8817a7fc6dd99a770cb11fac7ca48a3c81b0.tar.gz
gnuradio-6b1d8817a7fc6dd99a770cb11fac7ca48a3c81b0.tar.bz2
gnuradio-6b1d8817a7fc6dd99a770cb11fac7ca48a3c81b0.zip
Fixed the usrp and usrp2 probe scripts to work with the new gui param api.
Also fixed the scripts to work since they were broken by previous changes. Get input in param class now pases a param instance (self) into the object.
Diffstat (limited to 'grc/python')
-rw-r--r--grc/python/Param.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/python/Param.py b/grc/python/Param.py
index c64659a08..387fab548 100644
--- a/grc/python/Param.py
+++ b/grc/python/Param.py
@@ -154,7 +154,7 @@ class Param(_Param, _GUIParam):
return dt_str
def get_input(self, *args, **kwargs):
- if self.get_type() in ('file_open', 'file_save'): return FileParam(*args, **kwargs)
+ if self.get_type() in ('file_open', 'file_save'): return FileParam(self, *args, **kwargs)
return _GUIParam.get_input(self, *args, **kwargs)
def get_color(self):