Fixed crash if used with normal pipe
Fixed crash if used with normal pipe

If one wants to run i3status as a subprocess of
i3pystatus, do it like this:

import subprocess
import io
...
process = subprocess.Popen(["i3status", "-c", "~/.i3/status"], stdout=subprocess.PIPE)
stdin = io.TextIOWrapper(process.stdout)
status = I3statusHandler(stdin)

plumps/i3pystatus,onkelpit/i3pystatus,schroeji/i3pystatus,enkore/i3pystatus,richese/i3pystatus,Elder-of-Ozone/i3pystatus,eBrnd/i3pystatus,Arvedui/i3pystatus,Elder-of-Ozone/i3pystatus,yang-ling/i3pystatus,juliushaertl/i3pystatus,asmikhailov/i3pystatus,plumps/i3pystatus,juliushaertl/i3pystatus,m45t3r/i3pystatus,ismaelpuerto/i3pystatus,opatut/i3pystatus,drwahl/i3pystatus,eBrnd/i3pystatus,paulollivier/i3pystatus,facetoe/i3pystatus,schroeji/i3pystatus,richese/i3pystatus,ncoop/i3pystatus,facetoe/i3pystatus,claria/i3pystatus,fmarchenko/i3pystatus,fmarchenko/i3pystatus,yang-ling/i3pystatus,MaicoTimmerman/i3pystatus,m45t3r/i3pystatus,teto/i3pystatus,opatut/i3pystatus,drwahl/i3pystatus,claria/i3pystatus,teto/i3pystatus,Arvedui/i3pystatus,ncoop/i3pystatus,enkore/i3pystatus,ismaelpuerto/i3pystatus,asmikhailov/i3pystatus,paulollivier/i3pystatus,onkelpit/i3pystatus,MaicoTimmerman/i3pystatus