Removed encode functions in setStatus
This commit is contained in:
parent
5854f96be5
commit
a92eed7002
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user