Skip to content

Commit

Permalink
Set num_auths after changes auths (PokemonGoF#1168)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim95030 authored and FrostTheFox committed Sep 5, 2016
1 parent 5ab31d3 commit d5d6d10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pogom/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ def get_args():
if num_auths == 0:
args.auth_service = ['ptc']

num_auths = len(args.auth_service)

if num_usernames > 1:
if num_passwords > 1 and num_usernames != num_passwords:
errors.append('The number of provided passwords ({}) must match the username count ({})'.format(num_passwords, num_usernames))
Expand Down

0 comments on commit d5d6d10

Please sign in to comment.