Skip to content
Snippets Groups Projects
Verified Commit 8f700bb8 authored by Tadej Novak's avatar Tadej Novak
Browse files

Fix PtEtaSelectionBlock naming

parent fade763b
No related branches found
No related tags found
No related merge requests found
......@@ -218,9 +218,9 @@ class PtEtaSelectionBlock (ConfigBlock):
def __init__ (self, containerName, selectionName) :
groupName = containerName
if selectionName != '' :
groupName += '.' + selectionName
super (PtEtaSelectionBlock, self).__init__ (groupName)
if selectionName:
groupName += f'.{selectionName}'
super (PtEtaSelectionBlock, self).__init__ (f'PtEtaSelection.{groupName}')
self.containerName = containerName
self.selectionName = selectionName
self.addOption ('postfix', '', type=str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment