localdex 0.2.31__py3-none-any.whl → 0.2.33__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- localdex/core.py +20 -0
- {localdex-0.2.31.dist-info → localdex-0.2.33.dist-info}/METADATA +1 -1
- {localdex-0.2.31.dist-info → localdex-0.2.33.dist-info}/RECORD +6 -6
- {localdex-0.2.31.dist-info → localdex-0.2.33.dist-info}/WHEEL +0 -0
- {localdex-0.2.31.dist-info → localdex-0.2.33.dist-info}/entry_points.txt +0 -0
- {localdex-0.2.31.dist-info → localdex-0.2.33.dist-info}/top_level.txt +0 -0
localdex/core.py
CHANGED
@@ -185,6 +185,26 @@ class LocalDex:
|
|
185
185
|
if 'pikachu' in name.lower():
|
186
186
|
name = 'pikachu'
|
187
187
|
|
188
|
+
if 'ogerpon' in name.lower():
|
189
|
+
if 'cornerstone' in name.lower():
|
190
|
+
name = 'ogerpon-cornerstone-mask'
|
191
|
+
elif 'wellspring' in name.lower():
|
192
|
+
name = 'ogerpon-wellspring-mask'
|
193
|
+
elif 'hearthflame' in name.lower():
|
194
|
+
name = 'ogerpon-hearthflame-mask'
|
195
|
+
else:
|
196
|
+
name = 'ogerpon'
|
197
|
+
|
198
|
+
if 'squawkabilly' in name.lower():
|
199
|
+
if 'blue' in name.lower():
|
200
|
+
name = 'squawkabilly-blue-plumage'
|
201
|
+
elif 'red' in name.lower():
|
202
|
+
name = 'squawkabilly-red-plumage'
|
203
|
+
elif 'white' in name.lower():
|
204
|
+
name = 'squawkabilly-white-plumage'
|
205
|
+
else:
|
206
|
+
name = 'squawkabilly-white-plumage'
|
207
|
+
|
188
208
|
pokemon_data = self.data_loader.load_pokemon_by_name(name)
|
189
209
|
|
190
210
|
if not pokemon_data:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
localdex/__init__.py,sha256=TTeh9Eys8nLtcw7Dg2equDqnouthIUyfsqvABtzR2vA,403
|
2
2
|
localdex/cli.py,sha256=WqBCyA0akAFJNrYa8jCA3zoZgYEptDYDMGfAGkvKyZc,19317
|
3
|
-
localdex/core.py,sha256=
|
3
|
+
localdex/core.py,sha256=WVYGUYqkO6C2y6xJNraFyS39fGB0cKz9wr9AgZFZCQc,21598
|
4
4
|
localdex/data_loader.py,sha256=hi9aSTto5Ti-OBGOgrQ-XwD5hmivsUwS1uC4rulhwQI,11366
|
5
5
|
localdex/download_data.py,sha256=T4A3OliGe2RsrRV1glyCqRcFhQIRt29KcY1K1-IqTuU,21597
|
6
6
|
localdex/exceptions.py,sha256=Z02-8Kci6jFDk2nnGdVSHZJMDDWE9vuwuASs4VM3To8,2777
|
@@ -4825,8 +4825,8 @@ localdex/models/ability.py,sha256=AQzv3XUHHl4sustMJjPDDjJOjXu2GMLTfcM3-tqQ_1w,30
|
|
4825
4825
|
localdex/models/item.py,sha256=zXao8F-jBPUGq_YLeGeYeK_dZVI7aZMXtWOPwR3qusY,4677
|
4826
4826
|
localdex/models/move.py,sha256=hfgcWI4ziz5MMvc9ddmkotxzYYdrSUqZZQ72IU5tucs,7629
|
4827
4827
|
localdex/models/pokemon.py,sha256=glnOiEhkFc25U54hJHwUkT-okUgtL2prg3269YXI3w0,5422
|
4828
|
-
localdex-0.2.
|
4829
|
-
localdex-0.2.
|
4830
|
-
localdex-0.2.
|
4831
|
-
localdex-0.2.
|
4832
|
-
localdex-0.2.
|
4828
|
+
localdex-0.2.33.dist-info/METADATA,sha256=oQzKCttwpQNkmqZx_tZ7WYbDVRda06vYlz5FLj-tqgc,8016
|
4829
|
+
localdex-0.2.33.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
4830
|
+
localdex-0.2.33.dist-info/entry_points.txt,sha256=n5GxSeQo-MRuvrT2wVk7hOzEFFsWf6tkBjkzmGIYJe4,47
|
4831
|
+
localdex-0.2.33.dist-info/top_level.txt,sha256=vtupDMH-IaxVCoEZrmE0QzdTwhaKzngVJbTA1NkR_MY,9
|
4832
|
+
localdex-0.2.33.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|