Skip to content

Commit d6f2626

Browse files
committed
Fix result key name
1 parent 30a1ea1 commit d6f2626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pokemongo_bot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ def _encounter_tutorial(self):
789789
first_pokemon_id=random.choice([1,4,7])
790790
response_dict=self.api.encounter_tutorial_complete(pokemon_id=first_pokemon_id)
791791
try:
792-
if response_dict['responses']['ENCOUNTER_TUTORIAL_COMPLETE']['status'] == 1:
792+
if response_dict['responses']['ENCOUNTER_TUTORIAL_COMPLETE']['result'] == 1:
793793
return True
794794
else:
795795
self.logger.error("Error during encouter tutorial")

0 commit comments

Comments
 (0)