MCPcopy
hub / github.com/PokemonGoF/PokemonGo-Bot / _fixname

Method _fixname

pokemongo_bot/cell_workers/sniper.py:165–171  ·  view source on GitHub ↗
(self,name)

Source from the content-addressed store, hash-verified

163 raise
164
165 def _fixname(self,name):
166 if name:
167 name = name.replace("mr-mime","mr. mime")
168 name = name.replace("farfetchd","farfetch'd")
169 name = name.replace("Nidoran\u2642","nidoran m")
170 name = name.replace("Nidoran\u2640","nidoran f")
171 return name
172
173 def _get_closest_name(self, name):
174 if not name:

Callers 1

fetchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected