Skip to content

Commit

Permalink
variable renamed to avoid conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
padawin committed Mar 8, 2014
1 parent ef7fbc2 commit 9b0799f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions player.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def connect(self):
return True

#~ Read the login and the password from stdin
def _readLoginAndPassword(self, checkLogin, confirmPassword):
def _readLoginAndPassword(self, checkLogin, askConfirmPassword):
while self._login is None or self._login == '':
self._login = utils.read(_('LOGIN_PROMPT'))

Expand All @@ -50,7 +50,7 @@ def _readLoginAndPassword(self, checkLogin, confirmPassword):
while (self._password is None or self._password == ''):
self._password = getpass.getpass(_('PASSWORD_PROMPT'))

if confirmPassword:
if askConfirmPassword is True:
confirmPassword = getpass.getpass(_('CONFIRM_PASSWORD_PROMPT'))
else:
confirmPassword = self._password
Expand Down

0 comments on commit 9b0799f

Please sign in to comment.