summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/core/newmod.py
diff options
context:
space:
mode:
authoralekhgupta1441 <alekhgupta1441@gmail.com>2020-04-10 22:40:06 +0530
committerMichael Dickens <michael.dickens@ettus.com>2020-04-19 15:33:41 -0400
commitcc43c1d9259b2156c94f7ac1aa0ae543a9438c5f (patch)
treeb3183afb29788fc6f2eac9df4b0366be22063280 /gr-utils/modtool/core/newmod.py
parent1b4fb83f717cba508d6f771b050b6634316508e4 (diff)
Code Cleanup core files
Diffstat (limited to 'gr-utils/modtool/core/newmod.py')
-rw-r--r--gr-utils/modtool/core/newmod.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-utils/modtool/core/newmod.py b/gr-utils/modtool/core/newmod.py
index 28253efcda..a995b6e278 100644
--- a/gr-utils/modtool/core/newmod.py
+++ b/gr-utils/modtool/core/newmod.py
@@ -34,8 +34,7 @@ class ModToolNewModule(ModTool):
self.directory = self.dir
def assign(self):
- modname_=self.info['modname']
- self.dir = os.path.join(self.directory, f'gr-{modname_}')
+ self.dir = os.path.join(self.directory, f'gr-{self.info["modname"]}')
if self.srcdir is None:
self.srcdir = os.path.join(gr.prefix(),'share','gnuradio','modtool','templates','gr-newmod')