diff --git a/cuesubmit/cuesubmit/ui/Widgets.py b/cuesubmit/cuesubmit/ui/Widgets.py index 055853821..425567529 100644 --- a/cuesubmit/cuesubmit/ui/Widgets.py +++ b/cuesubmit/cuesubmit/ui/Widgets.py @@ -293,7 +293,7 @@ def __init__(self, label=None, parent=None, max_value=999, float_precision=None): super(CueLabelSlider, self).__init__(parent=parent) - self._labelValue = f'{label} ({{value}})' + self._labelValue = "%s ({value})" % label self.float_mult = 1 if float_precision: self.float_mult = 10**float_precision