Skip to content

Commit

Permalink
Correction : getpass() attend un type str pour l'argument prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasP committed Aug 16, 2019
1 parent 20f8e3f commit 35d118f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion palmares.py
Expand Up @@ -571,7 +571,7 @@ def main():
logging.basicConfig(level=logging.DEBUG)

login = args.login if args.login else raw_input("Identifiant : ")
password = args.password if args.password else getpass("Mot de passe : ")
password = args.password if args.password else getpass(b"Mot de passe : ")

licence = trimNumLicence(args.licence if args.licence else raw_input("Numero de licence : "))
if licence is None:
Expand Down

0 comments on commit 35d118f

Please sign in to comment.