Removed encode functions in setStatus

This commit is contained in:
Manuel Cortez 2016-12-19 16:52:12 -06:00
parent 5854f96be5
commit a92eed7002

View File

@ -47,7 +47,6 @@ class Window(object):
if isinstance(txt,list): txt=",".join([str(i).strip() for i in txt]) if isinstance(txt,list): txt=",".join([str(i).strip() for i in txt])
if l: txt+=" "+" ".join(l) if l: txt+=" "+" ".join(l)
if not isinstance(txt,str): txt=str(txt) if not isinstance(txt,str): txt=str(txt)
txt=txt.encode('utf-8')
cur=self.screen.getyx() cur=self.screen.getyx()
self.screen.move(self.status,0) self.screen.move(self.status,0)
self.screen.clrtoeol() self.screen.clrtoeol()