mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-25 04:40:21 +00:00
fixing a debugging print line
This commit is contained in:
parent
082ea57d77
commit
ffa89bdfc5
1 changed files with 0 additions and 1 deletions
|
@ -2345,7 +2345,6 @@ class MoveDetailSerializer(serializers.ModelSerializer):
|
||||||
).data
|
).data
|
||||||
effect_entries = data[0]
|
effect_entries = data[0]
|
||||||
for i, k in enumerate(effect_entries):
|
for i, k in enumerate(effect_entries):
|
||||||
print(i, k)
|
|
||||||
if '$effect_chance%' in effect_entries[k]:
|
if '$effect_chance%' in effect_entries[k]:
|
||||||
data[0][k] = effect_entries[k].replace('$effect_chance', f'{obj.move_effect_chance}')
|
data[0][k] = effect_entries[k].replace('$effect_chance', f'{obj.move_effect_chance}')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue