You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I prefered to use DynamicMessage instead of FormatCustomText because it's easier to set up.
so I added a DynamicMessage widget and update its value with a string, and I get an error that the g format code doesn't work with an str
ValueError: Unknown format code 'g' for object of type 'str'
Description
I prefered to use DynamicMessage instead of FormatCustomText because it's easier to set up.
so I added a DynamicMessage widget and update its value with a string, and I get an error that the g format code doesn't work with an str
ValueError: Unknown format code 'g' for object of type 'str'Code
Versions
[GCC 8.2.1 20181127]
Solution
In order to fix it I changed the code of function call of DynamicMessage like this