From 54a4df9513ea681a8b376c4df3f4f846f92201c1 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Tue, 5 Mar 2013 16:06:53 -0500 Subject: prefs: pass strings by reference. Also cleans up a comma in gr_modtool that made a string into a tuple (and C++ angry). --- gr-utils/src/python/modtool/modtool_newmod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-utils/src/python') 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.' -- cgit