File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ def __init__(
122122 relief = _relief , padx = _label_padding , pady = _label_padding
123123 )
124124
125+ self ._string_length_warning_issued = False
125126 self ._update ()
126127
127128 def _update (self ):
@@ -218,10 +219,13 @@ def _update(self):
218219 if value_str and len (value_str ) <= max_length :
219220 label_text = f"{ self ._label_text } \n ({ value_str .strip ()} )"
220221 else :
221- self ._logger .info (
222- "the value string length is greater than "
223- f"{ max_length } and, thus, will not be shown on the GUI"
224- )
222+ if not self ._string_length_warning_issued :
223+ self ._logger .info (
224+ "the value string length is greater than "
225+ f"{ max_length } and, thus, will not be shown on the GUI"
226+ )
227+ else :
228+ self ._string_length_warning_issued = True
225229 label_text = self ._label_text
226230
227231 self .config (background = color , text = label_text )
Original file line number Diff line number Diff line change 11[project ]
22name = " mats"
3- version = " 0.74.3 "
3+ version = " 0.74.4 "
44description = " Manufacturing Automated Test System, a framework for building device testing quickly and consistently"
55authors = [
66 {name = " Jason R. Jones" , email = " slightlynybbled@gmail.com" },
You can’t perform that action at this time.
0 commit comments