Skip to content

Commit

Permalink
Fix result key name
Browse files Browse the repository at this point in the history
  • Loading branch information
net8q committed Aug 16, 2016
1 parent 30a1ea1 commit d6f2626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ def _encounter_tutorial(self):
first_pokemon_id=random.choice([1,4,7])
response_dict=self.api.encounter_tutorial_complete(pokemon_id=first_pokemon_id)
try:
if response_dict['responses']['ENCOUNTER_TUTORIAL_COMPLETE']['status'] == 1:
if response_dict['responses']['ENCOUNTER_TUTORIAL_COMPLETE']['result'] == 1:
return True
else:
self.logger.error("Error during encouter tutorial")
Expand Down

0 comments on commit d6f2626

Please sign in to comment.