Merge pull request #54 from sudipm-mukherjee/curses
BUG: Right format for password from Curses
This commit is contained in:
@ -583,6 +583,10 @@ class Blinkenlights(UIBase, CursesUtil):
|
||||
finally:
|
||||
self.unlock()
|
||||
self.inputhandler.input_release()
|
||||
|
||||
# We need a str password
|
||||
if isinstance(password, bytes):
|
||||
return password.decode(encoding='utf-8')
|
||||
return password
|
||||
|
||||
def setupwindows(self, resize=False):
|
||||
|
Reference in New Issue
Block a user