def write_line(self, output):
        """
        Write a line of py3status output for consumption by i3bar
        """
        write = sys.__stdout__.write
        flush = sys.__stdout__.flush

        out = ",".join(x for x in output if x)
        write(f",[{out}]\n")
        flush()

        Write a line of py3status output for consumption by i3bar
        
py3status/output.py