From d6f2626e135548ced8e556e2e3aa8fb74291808b Mon Sep 17 00:00:00 2001 From: net8q Date: Tue, 16 Aug 2016 16:10:51 +0200 Subject: [PATCH] Fix result key name --- pokemongo_bot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemongo_bot/__init__.py b/pokemongo_bot/__init__.py index 3c227e7cea..a038346507 100644 --- a/pokemongo_bot/__init__.py +++ b/pokemongo_bot/__init__.py @@ -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")