mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 00:58:31 +02:00
parent
87aeb17b2c
commit
44e243a629
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ SENTENCE_SPLITTER = re.compile(r"""
|
||||||
|
|
||||||
def getpass(prompt="Password: "):
|
def getpass(prompt="Password: "):
|
||||||
if not TEST:
|
if not TEST:
|
||||||
return gp.getpass(prompt)
|
return gp.getpass(bytes(prompt))
|
||||||
else:
|
else:
|
||||||
return py23_input(prompt)
|
return py23_input(prompt)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue