Closed lasers closed 1 year ago
I added nvidia_smi to py3status on VM -- It doesn't print anything. Strange... Not even an error too?
nvidia_smi
https://github.com/ultrabug/py3status/pull/1972 is the first bad commit.
This bring back error messages (i.e. package not installed) on post_config_hook and maybe others too.
post_config_hook
Simple diff test w/ static_string.
static_string
+++ b/py3status/modules/static_string.py @@ -17,6 +17,9 @@ class Py3status: # available configuration parameters format = "Hello, world!" + def post_config_hook(self): + self.py3.error("Bye, world!") + def static_string(self): return { "cached_until": self.py3.CACHE_FOREVER,
Note: I don't know if this changes your code. Just a small tweak to bring it back. Idk about your code. Thanks.
Thanks for spotting this... the correct (I hope) fix is #2208
I added
nvidia_smi
to py3status on VM -- It doesn't print anything. Strange... Not even an error too?https://github.com/ultrabug/py3status/pull/1972 is the first bad commit.
This bring back error messages (i.e. package not installed) on
post_config_hook
and maybe others too.Simple diff test w/
static_string
.Note: I don't know if this changes your code. Just a small tweak to bring it back. Idk about your code. Thanks.