def __init__(self, py3_wrapper):
Thread.__init__(self)<EOL>self.config = py3_wrapper.config<EOL>self.error = None<EOL>self.py3_config = py3_wrapper.config["<STR_LIT>"]<EOL>self.modules = py3_wrapper.modules<EOL>self.on_click = self.py3_config["<STR_LIT>"]<EOL>self.output_modules = py3_wrapper.output_modules<EOL>self.poller_inp = IOPoller(sys.stdin)<EOL>self.py3_wrapper = py3_wrapper<EOL>
We need to poll stdin to receive i3bar messages.