Skip to content

Commit

Permalink
#280 Use raw_input instead getpass.getpass
Browse files Browse the repository at this point in the history
  • Loading branch information
viliambalaz committed Jun 25, 2020
1 parent 90173e3 commit e5ecb9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
"" \
"" \
"[email protected]"\
"www-chcemvediet-sk" \
"" \
"" \
"y" \
"y" \
"y" \
"y" \
"" \
"admin" \
"" \
"" \
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import string
import random
import json
import getpass
import textwrap
import unicodedata

Expand Down Expand Up @@ -103,7 +102,7 @@ def input_password(self, key, prompt, hasher=None, required=False):
configured = self.data.get(key, u'')
prompt = u'\n{} [{}]: '.format(prompt, u'*****' if configured else u'')
while True:
inputed = getpass.getpass(PROMPT + prompt + RESET)
inputed = raw_input(PROMPT + prompt + RESET)
if required and not inputed and not configured:
print(ERROR + u'\nError: The value is required.' + RESET)
continue
Expand Down

0 comments on commit e5ecb9d

Please sign in to comment.