diff options
author | Josh Blum <josh@joshknows.com> | 2009-09-06 01:58:25 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2009-09-06 01:58:25 -0700 |
commit | 6b1d8817a7fc6dd99a770cb11fac7ca48a3c81b0 (patch) | |
tree | 9afb4f16562d64aa44682fb9b7d19fbc2031e9b1 /grc/python/Param.py | |
parent | e39507bf32666f9b17d2249106aac0d6cbcacc58 (diff) |
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/Param.py')
-rw-r--r-- | grc/python/Param.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/python/Param.py b/grc/python/Param.py index c64659a080..387fab5481 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): |