We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[Feature Request] Randomize Evolve Speed
### Short Description

Randomize Evolve Speed
### Possible solution

"max_evolve_speed": 40,
"min_evolve_speed": 20,
### How it would help others

could make bot detection harder and bot more realistic.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `pokemongo_bot/cell_workers/evolve_pokemon.py`
Content:
```
1 from pokemongo_bot import inventory
2 from pokemongo_bot.human_behaviour import sleep
3 from pokemongo_bot.inventory import Pokemon
4 from pokemongo_bot.item_list import Item
5 from pokemongo_bot.base_task import BaseTask
6 from pokemongo_bot.datastore import Datastore
7 
8 
9 class EvolvePokemon(Datastore, BaseTask):
10     SUPPORTED_TASK_API_VERSION = 1
11     def __init__(self, bot, config):
12         super(EvolvePokemon, self).__init__(bot, config)
13 
14     def initialize(self):
15         self.api = self.bot.api
16         self.evolve_all = self.config.get('evolve_all', [])
17         self.evolve_speed = self.config.get('evolve_speed', 2)
18         self.first_evolve_by = self.config.get('first_evolve_by', 'cp')
19         self.evolve_above_cp = self.config.get('evolve_above_cp', 500)
20         self.evolve_above_iv = self.config.get('evolve_above_iv', 0.8)
21         self.cp_iv_logic = self.config.get('logic', 'or')
22         self.use_lucky_egg = self.config.get('use_lucky_egg', False)
23         self._validate_config()
24 
25     def _validate_config(self):
26         if isinstance(self.evolve_all, basestring):
27             self.evolve_all = [str(pokemon_name).strip() for pokemon_name in self.evolve_all.split(',')]
28 
29     def work(self):
30         if not self._should_run():
31             return
32 
33         evolve_list = self._sort_and_filter()
34 
35         if self.evolve_all[0] != 'all':
36             # filter out non-listed pokemons
37             evolve_list = filter(lambda x: x.name in self.evolve_all, evolve_list)
38 
39         cache = {}
40         for pokemon in evolve_list:
41             if pokemon.can_evolve_now():
42                 self._execute_pokemon_evolve(pokemon, cache)
43 
44     def _should_run(self):
45         if not self.evolve_all or self.evolve_all[0] == 'none':
46             return False
47 
48         # Evolve all is used - Use Lucky egg only at the first tick
49         if self.bot.tick_count is not 1 or not self.use_lucky_egg:
50             return True
51 
52         lucky_egg = inventory.items().get(Item.ITEM_LUCKY_EGG.value)
53 
54         # Make sure the user has a lucky egg and skip if not
55         if lucky_egg.count > 0:
56             response_dict_lucky_egg = self.bot.use_lucky_egg()
57             if response_dict_lucky_egg:
58                 result = response_dict_lucky_egg.get('responses', {}).get('USE_ITEM_XP_BOOST', {}).get('result', 0)
59                 if result is 1:  # Request success
60                     lucky_egg.remove(1)
61                     self.emit_event(
62                         'used_lucky_egg',
63                         formatted='Used lucky egg ({amount_left} left).',
64                         data={
65                              'amount_left': lucky_egg.count
66                         }
67                     )
68                     return True
69                 else:
70                     self.emit_event(
71                         'lucky_egg_error',
72                         level='error',
73                         formatted='Failed to use lucky egg!'
74                     )
75                     return False
76         else:
77             # Skipping evolve so they aren't wasted
78             self.emit_event(
79                 'skip_evolve',
80                 formatted='Skipping evolve because has no lucky egg.'
81             )
82             return False
83 
84     def _sort_and_filter(self):
85         pokemons = []
86         logic_to_function = {
87             'or': lambda pokemon: pokemon.cp >= self.evolve_above_cp or pokemon.iv >= self.evolve_above_iv,
88             'and': lambda pokemon: pokemon.cp >= self.evolve_above_cp and pokemon.iv >= self.evolve_above_iv
89         }
90 
91         for pokemon in inventory.pokemons().all():
92             if pokemon.unique_id > 0 and pokemon.has_next_evolution() and (logic_to_function[self.cp_iv_logic](pokemon)):
93                 pokemons.append(pokemon)
94 
95         if self.first_evolve_by == "cp":
96             pokemons.sort(key=lambda x: (x.pokemon_id, x.cp, x.iv), reverse=True)
97         else:
98             pokemons.sort(key=lambda x: (x.pokemon_id, x.iv, x.cp), reverse=True)
99 
100         return pokemons
101 
102     def _execute_pokemon_evolve(self, pokemon, cache):
103         if pokemon.name in cache:
104             return False
105 
106         response_dict = self.api.evolve_pokemon(pokemon_id=pokemon.unique_id)
107         if response_dict.get('responses', {}).get('EVOLVE_POKEMON', {}).get('result', 0) == 1:
108             xp = response_dict.get("responses", {}).get("EVOLVE_POKEMON", {}).get("experience_awarded", 0)
109             evolution = response_dict.get("responses", {}).get("EVOLVE_POKEMON", {}).get("evolved_pokemon_data", {})
110             awarded_candies = response_dict.get('responses', {}).get('EVOLVE_POKEMON', {}).get('candy_awarded', 0)
111             candy = inventory.candies().get(pokemon.pokemon_id)
112 
113             candy.consume(pokemon.evolution_cost - awarded_candies)
114 
115             self.emit_event(
116                 'pokemon_evolved',
117                 formatted="Evolved {pokemon} [IV {iv}] [CP {cp}] [{candy} candies] [+{xp} xp]",
118                 data={
119                     'pokemon': pokemon.name,
120                     'iv': pokemon.iv,
121                     'cp': pokemon.cp,
122                     'candy': candy.quantity,
123                     'xp': xp,
124                 }
125             )
126 
127             inventory.pokemons().remove(pokemon.unique_id)
128             new_pokemon = inventory.Pokemon(evolution)
129             inventory.pokemons().add(new_pokemon)
130 
131             sleep(self.evolve_speed)
132             evolve_result = True
133         else:
134             # cache pokemons we can't evolve. Less server calls
135             cache[pokemon.name] = 1
136             sleep(0.7)
137             evolve_result = False
138 
139         with self.bot.database as conn:
140             c = conn.cursor()
141             c.execute("SELECT COUNT(name) FROM sqlite_master WHERE type='table' AND name='evolve_log'")
142 
143         result = c.fetchone()
144 
145         while True:
146             if result[0] == 1:
147                 conn.execute('''INSERT INTO evolve_log (pokemon, iv, cp) VALUES (?, ?, ?)''', (pokemon.name, pokemon.iv, pokemon.cp))
148                 break
149             else:
150                 self.emit_event(
151                     'evolve_log',
152                     sender=self,
153                     level='info',
154                     formatted="evolve_log table not found, skipping log"
155                 )
156                 break
157 
158         return evolve_result
159
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/pokemongo_bot/cell_workers/evolve_pokemon.py b/pokemongo_bot/cell_workers/evolve_pokemon.py
--- a/pokemongo_bot/cell_workers/evolve_pokemon.py
+++ b/pokemongo_bot/cell_workers/evolve_pokemon.py
@@ -1,3 +1,5 @@
+from random import uniform
+
 from pokemongo_bot import inventory
 from pokemongo_bot.human_behaviour import sleep
 from pokemongo_bot.inventory import Pokemon
@@ -14,7 +16,8 @@
     def initialize(self):
         self.api = self.bot.api
         self.evolve_all = self.config.get('evolve_all', [])
-        self.evolve_speed = self.config.get('evolve_speed', 2)
+        self.min_evolve_speed = self.config.get('min_evolve_speed', 25)
+        self.max_evolve_speed = self.config.get('max_evolve_speed', 30)
         self.first_evolve_by = self.config.get('first_evolve_by', 'cp')
         self.evolve_above_cp = self.config.get('evolve_above_cp', 500)
         self.evolve_above_iv = self.config.get('evolve_above_iv', 0.8)
@@ -26,6 +29,9 @@
         if isinstance(self.evolve_all, basestring):
             self.evolve_all = [str(pokemon_name).strip() for pokemon_name in self.evolve_all.split(',')]
 
+        if 'evolve_speed' in self.config:
+            self.logger.warning("evolve_speed is deprecated, please use instead 'min_evolve_speed' and 'max_evolved_speed'.")
+
     def work(self):
         if not self._should_run():
             return
@@ -128,7 +134,7 @@
             new_pokemon = inventory.Pokemon(evolution)
             inventory.pokemons().add(new_pokemon)
 
-            sleep(self.evolve_speed)
+            sleep(uniform(self.min_evolve_speed, self.max_evolve_speed))
             evolve_result = True
         else:
             # cache pokemons we can't evolve. Less server calls

{"golden_diff": "diff --git a/pokemongo_bot/cell_workers/evolve_pokemon.py b/pokemongo_bot/cell_workers/evolve_pokemon.py\n--- a/pokemongo_bot/cell_workers/evolve_pokemon.py\n+++ b/pokemongo_bot/cell_workers/evolve_pokemon.py\n@@ -1,3 +1,5 @@\n+from random import uniform\n+\n from pokemongo_bot import inventory\n from pokemongo_bot.human_behaviour import sleep\n from pokemongo_bot.inventory import Pokemon\n@@ -14,7 +16,8 @@\n     def initialize(self):\n         self.api = self.bot.api\n         self.evolve_all = self.config.get('evolve_all', [])\n-        self.evolve_speed = self.config.get('evolve_speed', 2)\n+        self.min_evolve_speed = self.config.get('min_evolve_speed', 25)\n+        self.max_evolve_speed = self.config.get('max_evolve_speed', 30)\n         self.first_evolve_by = self.config.get('first_evolve_by', 'cp')\n         self.evolve_above_cp = self.config.get('evolve_above_cp', 500)\n         self.evolve_above_iv = self.config.get('evolve_above_iv', 0.8)\n@@ -26,6 +29,9 @@\n         if isinstance(self.evolve_all, basestring):\n             self.evolve_all = [str(pokemon_name).strip() for pokemon_name in self.evolve_all.split(',')]\n \n+        if 'evolve_speed' in self.config:\n+            self.logger.warning(\"evolve_speed is deprecated, please use instead 'min_evolve_speed' and 'max_evolved_speed'.\")\n+\n     def work(self):\n         if not self._should_run():\n             return\n@@ -128,7 +134,7 @@\n             new_pokemon = inventory.Pokemon(evolution)\n             inventory.pokemons().add(new_pokemon)\n \n-            sleep(self.evolve_speed)\n+            sleep(uniform(self.min_evolve_speed, self.max_evolve_speed))\n             evolve_result = True\n         else:\n             # cache pokemons we can't evolve. Less server calls\n", "issue": "[Feature Request] Randomize Evolve Speed\n### Short Description\n\nRandomize Evolve Speed\n### Possible solution\n\n\"max_evolve_speed\": 40,\n\"min_evolve_speed\": 20,\n### How it would help others\n\ncould make bot detection harder and bot more realistic.\n\n", "before_files": [{"content": "from pokemongo_bot import inventory\nfrom pokemongo_bot.human_behaviour import sleep\nfrom pokemongo_bot.inventory import Pokemon\nfrom pokemongo_bot.item_list import Item\nfrom pokemongo_bot.base_task import BaseTask\nfrom pokemongo_bot.datastore import Datastore\n\n\nclass EvolvePokemon(Datastore, BaseTask):\n    SUPPORTED_TASK_API_VERSION = 1\n    def __init__(self, bot, config):\n        super(EvolvePokemon, self).__init__(bot, config)\n\n    def initialize(self):\n        self.api = self.bot.api\n        self.evolve_all = self.config.get('evolve_all', [])\n        self.evolve_speed = self.config.get('evolve_speed', 2)\n        self.first_evolve_by = self.config.get('first_evolve_by', 'cp')\n        self.evolve_above_cp = self.config.get('evolve_above_cp', 500)\n        self.evolve_above_iv = self.config.get('evolve_above_iv', 0.8)\n        self.cp_iv_logic = self.config.get('logic', 'or')\n        self.use_lucky_egg = self.config.get('use_lucky_egg', False)\n        self._validate_config()\n\n    def _validate_config(self):\n        if isinstance(self.evolve_all, basestring):\n            self.evolve_all = [str(pokemon_name).strip() for pokemon_name in self.evolve_all.split(',')]\n\n    def work(self):\n        if not self._should_run():\n            return\n\n        evolve_list = self._sort_and_filter()\n\n        if self.evolve_all[0] != 'all':\n            # filter out non-listed pokemons\n            evolve_list = filter(lambda x: x.name in self.evolve_all, evolve_list)\n\n        cache = {}\n        for pokemon in evolve_list:\n            if pokemon.can_evolve_now():\n                self._execute_pokemon_evolve(pokemon, cache)\n\n    def _should_run(self):\n        if not self.evolve_all or self.evolve_all[0] == 'none':\n            return False\n\n        # Evolve all is used - Use Lucky egg only at the first tick\n        if self.bot.tick_count is not 1 or not self.use_lucky_egg:\n            return True\n\n        lucky_egg = inventory.items().get(Item.ITEM_LUCKY_EGG.value)\n\n        # Make sure the user has a lucky egg and skip if not\n        if lucky_egg.count > 0:\n            response_dict_lucky_egg = self.bot.use_lucky_egg()\n            if response_dict_lucky_egg:\n                result = response_dict_lucky_egg.get('responses', {}).get('USE_ITEM_XP_BOOST', {}).get('result', 0)\n                if result is 1:  # Request success\n                    lucky_egg.remove(1)\n                    self.emit_event(\n                        'used_lucky_egg',\n                        formatted='Used lucky egg ({amount_left} left).',\n                        data={\n                             'amount_left': lucky_egg.count\n                        }\n                    )\n                    return True\n                else:\n                    self.emit_event(\n                        'lucky_egg_error',\n                        level='error',\n                        formatted='Failed to use lucky egg!'\n                    )\n                    return False\n        else:\n            # Skipping evolve so they aren't wasted\n            self.emit_event(\n                'skip_evolve',\n                formatted='Skipping evolve because has no lucky egg.'\n            )\n            return False\n\n    def _sort_and_filter(self):\n        pokemons = []\n        logic_to_function = {\n            'or': lambda pokemon: pokemon.cp >= self.evolve_above_cp or pokemon.iv >= self.evolve_above_iv,\n            'and': lambda pokemon: pokemon.cp >= self.evolve_above_cp and pokemon.iv >= self.evolve_above_iv\n        }\n\n        for pokemon in inventory.pokemons().all():\n            if pokemon.unique_id > 0 and pokemon.has_next_evolution() and (logic_to_function[self.cp_iv_logic](pokemon)):\n                pokemons.append(pokemon)\n\n        if self.first_evolve_by == \"cp\":\n            pokemons.sort(key=lambda x: (x.pokemon_id, x.cp, x.iv), reverse=True)\n        else:\n            pokemons.sort(key=lambda x: (x.pokemon_id, x.iv, x.cp), reverse=True)\n\n        return pokemons\n\n    def _execute_pokemon_evolve(self, pokemon, cache):\n        if pokemon.name in cache:\n            return False\n\n        response_dict = self.api.evolve_pokemon(pokemon_id=pokemon.unique_id)\n        if response_dict.get('responses', {}).get('EVOLVE_POKEMON', {}).get('result', 0) == 1:\n            xp = response_dict.get(\"responses\", {}).get(\"EVOLVE_POKEMON\", {}).get(\"experience_awarded\", 0)\n            evolution = response_dict.get(\"responses\", {}).get(\"EVOLVE_POKEMON\", {}).get(\"evolved_pokemon_data\", {})\n            awarded_candies = response_dict.get('responses', {}).get('EVOLVE_POKEMON', {}).get('candy_awarded', 0)\n            candy = inventory.candies().get(pokemon.pokemon_id)\n\n            candy.consume(pokemon.evolution_cost - awarded_candies)\n\n            self.emit_event(\n                'pokemon_evolved',\n                formatted=\"Evolved {pokemon} [IV {iv}] [CP {cp}] [{candy} candies] [+{xp} xp]\",\n                data={\n                    'pokemon': pokemon.name,\n                    'iv': pokemon.iv,\n                    'cp': pokemon.cp,\n                    'candy': candy.quantity,\n                    'xp': xp,\n                }\n            )\n\n            inventory.pokemons().remove(pokemon.unique_id)\n            new_pokemon = inventory.Pokemon(evolution)\n            inventory.pokemons().add(new_pokemon)\n\n            sleep(self.evolve_speed)\n            evolve_result = True\n        else:\n            # cache pokemons we can't evolve. Less server calls\n            cache[pokemon.name] = 1\n            sleep(0.7)\n            evolve_result = False\n\n        with self.bot.database as conn:\n            c = conn.cursor()\n            c.execute(\"SELECT COUNT(name) FROM sqlite_master WHERE type='table' AND name='evolve_log'\")\n\n        result = c.fetchone()\n\n        while True:\n            if result[0] == 1:\n                conn.execute('''INSERT INTO evolve_log (pokemon, iv, cp) VALUES (?, ?, ?)''', (pokemon.name, pokemon.iv, pokemon.cp))\n                break\n            else:\n                self.emit_event(\n                    'evolve_log',\n                    sender=self,\n                    level='info',\n                    formatted=\"evolve_log table not found, skipping log\"\n                )\n                break\n\n        return evolve_result\n", "path": "pokemongo_bot/cell_workers/evolve_pokemon.py"}], "after_files": [{"content": "from random import uniform\n\nfrom pokemongo_bot import inventory\nfrom pokemongo_bot.human_behaviour import sleep\nfrom pokemongo_bot.inventory import Pokemon\nfrom pokemongo_bot.item_list import Item\nfrom pokemongo_bot.base_task import BaseTask\nfrom pokemongo_bot.datastore import Datastore\n\n\nclass EvolvePokemon(Datastore, BaseTask):\n    SUPPORTED_TASK_API_VERSION = 1\n    def __init__(self, bot, config):\n        super(EvolvePokemon, self).__init__(bot, config)\n\n    def initialize(self):\n        self.api = self.bot.api\n        self.evolve_all = self.config.get('evolve_all', [])\n        self.min_evolve_speed = self.config.get('min_evolve_speed', 25)\n        self.max_evolve_speed = self.config.get('max_evolve_speed', 30)\n        self.first_evolve_by = self.config.get('first_evolve_by', 'cp')\n        self.evolve_above_cp = self.config.get('evolve_above_cp', 500)\n        self.evolve_above_iv = self.config.get('evolve_above_iv', 0.8)\n        self.cp_iv_logic = self.config.get('logic', 'or')\n        self.use_lucky_egg = self.config.get('use_lucky_egg', False)\n        self._validate_config()\n\n    def _validate_config(self):\n        if isinstance(self.evolve_all, basestring):\n            self.evolve_all = [str(pokemon_name).strip() for pokemon_name in self.evolve_all.split(',')]\n\n        if 'evolve_speed' in self.config:\n            self.logger.warning(\"evolve_speed is deprecated, please use instead 'min_evolve_speed' and 'max_evolved_speed'.\")\n\n    def work(self):\n        if not self._should_run():\n            return\n\n        evolve_list = self._sort_and_filter()\n\n        if self.evolve_all[0] != 'all':\n            # filter out non-listed pokemons\n            evolve_list = filter(lambda x: x.name in self.evolve_all, evolve_list)\n\n        cache = {}\n        for pokemon in evolve_list:\n            if pokemon.can_evolve_now():\n                self._execute_pokemon_evolve(pokemon, cache)\n\n    def _should_run(self):\n        if not self.evolve_all or self.evolve_all[0] == 'none':\n            return False\n\n        # Evolve all is used - Use Lucky egg only at the first tick\n        if self.bot.tick_count is not 1 or not self.use_lucky_egg:\n            return True\n\n        lucky_egg = inventory.items().get(Item.ITEM_LUCKY_EGG.value)\n\n        # Make sure the user has a lucky egg and skip if not\n        if lucky_egg.count > 0:\n            response_dict_lucky_egg = self.bot.use_lucky_egg()\n            if response_dict_lucky_egg:\n                result = response_dict_lucky_egg.get('responses', {}).get('USE_ITEM_XP_BOOST', {}).get('result', 0)\n                if result is 1:  # Request success\n                    lucky_egg.remove(1)\n                    self.emit_event(\n                        'used_lucky_egg',\n                        formatted='Used lucky egg ({amount_left} left).',\n                        data={\n                             'amount_left': lucky_egg.count\n                        }\n                    )\n                    return True\n                else:\n                    self.emit_event(\n                        'lucky_egg_error',\n                        level='error',\n                        formatted='Failed to use lucky egg!'\n                    )\n                    return False\n        else:\n            # Skipping evolve so they aren't wasted\n            self.emit_event(\n                'skip_evolve',\n                formatted='Skipping evolve because has no lucky egg.'\n            )\n            return False\n\n    def _sort_and_filter(self):\n        pokemons = []\n        logic_to_function = {\n            'or': lambda pokemon: pokemon.cp >= self.evolve_above_cp or pokemon.iv >= self.evolve_above_iv,\n            'and': lambda pokemon: pokemon.cp >= self.evolve_above_cp and pokemon.iv >= self.evolve_above_iv\n        }\n\n        for pokemon in inventory.pokemons().all():\n            if pokemon.unique_id > 0 and pokemon.has_next_evolution() and (logic_to_function[self.cp_iv_logic](pokemon)):\n                pokemons.append(pokemon)\n\n        if self.first_evolve_by == \"cp\":\n            pokemons.sort(key=lambda x: (x.pokemon_id, x.cp, x.iv), reverse=True)\n        else:\n            pokemons.sort(key=lambda x: (x.pokemon_id, x.iv, x.cp), reverse=True)\n\n        return pokemons\n\n    def _execute_pokemon_evolve(self, pokemon, cache):\n        if pokemon.name in cache:\n            return False\n\n        response_dict = self.api.evolve_pokemon(pokemon_id=pokemon.unique_id)\n        if response_dict.get('responses', {}).get('EVOLVE_POKEMON', {}).get('result', 0) == 1:\n            xp = response_dict.get(\"responses\", {}).get(\"EVOLVE_POKEMON\", {}).get(\"experience_awarded\", 0)\n            evolution = response_dict.get(\"responses\", {}).get(\"EVOLVE_POKEMON\", {}).get(\"evolved_pokemon_data\", {})\n            awarded_candies = response_dict.get('responses', {}).get('EVOLVE_POKEMON', {}).get('candy_awarded', 0)\n            candy = inventory.candies().get(pokemon.pokemon_id)\n\n            candy.consume(pokemon.evolution_cost - awarded_candies)\n\n            self.emit_event(\n                'pokemon_evolved',\n                formatted=\"Evolved {pokemon} [IV {iv}] [CP {cp}] [{candy} candies] [+{xp} xp]\",\n                data={\n                    'pokemon': pokemon.name,\n                    'iv': pokemon.iv,\n                    'cp': pokemon.cp,\n                    'candy': candy.quantity,\n                    'xp': xp,\n                }\n            )\n\n            inventory.pokemons().remove(pokemon.unique_id)\n            new_pokemon = inventory.Pokemon(evolution)\n            inventory.pokemons().add(new_pokemon)\n\n            sleep(uniform(self.min_evolve_speed, self.max_evolve_speed))\n            evolve_result = True\n        else:\n            # cache pokemons we can't evolve. Less server calls\n            cache[pokemon.name] = 1\n            sleep(0.7)\n            evolve_result = False\n\n        with self.bot.database as conn:\n            c = conn.cursor()\n            c.execute(\"SELECT COUNT(name) FROM sqlite_master WHERE type='table' AND name='evolve_log'\")\n\n        result = c.fetchone()\n\n        while True:\n            if result[0] == 1:\n                conn.execute('''INSERT INTO evolve_log (pokemon, iv, cp) VALUES (?, ?, ?)''', (pokemon.name, pokemon.iv, pokemon.cp))\n                break\n            else:\n                self.emit_event(\n                    'evolve_log',\n                    sender=self,\n                    level='info',\n                    formatted=\"evolve_log table not found, skipping log\"\n                )\n                break\n\n        return evolve_result\n", "path": "pokemongo_bot/cell_workers/evolve_pokemon.py"}]}