Fix Double underscore bug in generated code

061f19a52e3c40e30add262db95cea57655b893b introduced an extra underscore
in the make_path function for un-named groups.
This commit is contained in:
Douglas Clowes
2014-04-17 13:43:57 +10:00
parent da2fd6bbbb
commit 6bca9566e3

View File

@ -519,7 +519,8 @@ def make_path(MyVar):
path = MyVar['path']
if len(path) > 0:
path = path.replace('/', '_')
path += '_' + MyVar['name']
path += '_'
path += MyVar['name']
return path
#