summaryrefslogtreecommitdiff
path: root/gr-utils/src/python/modtool/modtool_newmod.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-05 16:06:53 -0500
committerTom Rondeau <trondeau@vt.edu>2013-03-05 16:06:53 -0500
commitbf343e58bc5b4ef026bb4c8722312a6f123becf2 (patch)
tree9ca864dd81a66cf69ceac29d6c3e2a1ecd9028ff /gr-utils/src/python/modtool/modtool_newmod.py
parent9ee8d2a6b98991686488db3c071cd98f84f45af4 (diff)
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/modtool/modtool_newmod.py')
-rw-r--r--gr-utils/src/python/modtool/modtool_newmod.py2
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 102d83d8df..0613d5fbe1 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.'