diff options
author | Tom Rondeau | 2013-03-05 16:06:53 -0500 |
---|---|---|
committer | Tom Rondeau | 2013-03-05 16:42:32 -0500 |
commit | 54a4df9513ea681a8b376c4df3f4f846f92201c1 (patch) | |
tree | 3932eb449459c2a85fcefe5839ed9b3de7bfadc1 /gr-utils/src/python | |
parent | 71f1ee49ec4d444f51bdafa6922c1732a7e0d4bd (diff) | |
download | gnuradio-54a4df9513ea681a8b376c4df3f4f846f92201c1.tar.gz gnuradio-54a4df9513ea681a8b376c4df3f4f846f92201c1.tar.bz2 gnuradio-54a4df9513ea681a8b376c4df3f4f846f92201c1.zip |
prefs: pass strings by reference. Also cleans up a comma in gr_modtool that made a string into a tuple (and C++ angry).
Diffstat (limited to 'gr-utils/src/python')
-rw-r--r-- | gr-utils/src/python/modtool/modtool_newmod.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/src/python/modtool/modtool_newmod.py b/gr-utils/src/python/modtool/modtool_newmod.py index 102d83d8d..0613d5fbe 100644 --- a/gr-utils/src/python/modtool/modtool_newmod.py +++ b/gr-utils/src/python/modtool/modtool_newmod.py @@ -66,7 +66,7 @@ class ModToolNewModule(ModTool): print 'The given directory exists.' exit(2) if options.srcdir is None: - options.srcdir = '/usr/local/share/gnuradio/modtool/gr-newmod', + options.srcdir = '/usr/local/share/gnuradio/modtool/gr-newmod' self._srcdir = gr.prefs().get_string('modtool', 'newmod_path', options.srcdir) if not os.path.isdir(self._srcdir): print 'Error: Could not find gr-newmod source dir.' |