From d9d65bd71afa3dc70d0b7e6318983a0d1f3477b6 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 26 Aug 2021 10:34:14 -0400 Subject: [PATCH] Pass in labl fields as kwargs --- piker/ui/_label.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/ui/_label.py b/piker/ui/_label.py index 8bda1839..1a22951e 100644 --- a/piker/ui/_label.py +++ b/piker/ui/_label.py @@ -274,7 +274,7 @@ class FormatLabel(QLabel): def format( self, - fields: dict[str, Any], + **fields: dict[str, Any], ) -> str: out = self.fmt_str.format(**fields)