cglatot / PokeManager

Uses Python API for Pokemon Go to mass transfer Pokemon
Other
146 stars 31 forks source link

100% pokemon sorted alphabeticaly #51

Open fprovostpoulin opened 8 years ago

fprovostpoulin commented 8 years ago

100% appears close to 1% when it should appear close to 97% ones.

I changed the rename method for myself but don't want to push it for everyone in case that'S not what you want, but you could do (the 100 is in fact L(lowercase)) :

if str(monster[5]) == '100' : session.nicknamePokemon(monster[6],'l00-15/15/15') logging.info('Renamed ' + monster[0] + ' to l00-15/15/15') else : session.nicknamePokemon(monster[6],str(monster[5]) + '-' + str(monster[2]) + '/' + str(monster[3]) + '/' + str(monster[4])) logging.info('Renamed ' + monster[0] + ' to ' + str(monster[5]) + '-' + str(monster[2]) + '/' + str(monster[3]) + '/' + str(monster[4]))