diff --git a/py3status/modules/conky.py b/py3status/modules/conky.py index 92cce4ac26..6b6a4aad1c 100644 --- a/py3status/modules/conky.py +++ b/py3status/modules/conky.py @@ -384,7 +384,7 @@ def post_config_hook(self): def _cleanup(self): self.process.kill() - Path(self.tmpfile).unlink() + Path(self.tmpfile.name).unlink() self.py3.update() def _start_loop(self): @@ -393,6 +393,9 @@ def _start_loop(self): while True: line = self.process.stdout.readline().decode() if self.process.poll() is not None or "conky:" in line: + # workaround to https://github.com/brndnmtthws/conky/issues/1479 + if "conky: invalid setting of type 'table'" in line: + continue raise Exception(line) if self.line != line: self.line = line