Skip to content

Commit e98e95e

Browse files
committed
Fixes #35
1 parent 68c1c87 commit e98e95e

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

docs/history.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# History
2+
### 0.5.2 (2019-03-01)
3+
* Fixed bug that caused pokemon_encounters subresource to not be detected in LocationAreaResource
4+
(thanks to [jachymb](https://github.com/jachymb))
5+
26
### 0.5.1 (2019-02-16)
37
* New V2Client cache-related methods:
48
* cache_info

pokepy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
__author__ = 'Paul Hallett'
1717
__email__ = 'hello@phalt.co'
1818
__credits__ = ["Paul Hallett", "Owen Hallett", "Kronopt"]
19-
__version__ = '0.5.1'
19+
__version__ = '0.5.2'
2020
__copyright__ = 'Copyright Paul Hallett 2016'
2121
__license__ = 'BSD'
2222

pokepy/resources_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1745,7 +1745,7 @@ class Meta(BaseResource.Meta):
17451745
'encounter_method_rates': EncounterMethodRateSubResource,
17461746
'location': NamedAPIResourceSubResource,
17471747
'names': NameSubResource,
1748-
'pokemon_encounters:': PokemonEncounterSubResource
1748+
'pokemon_encounters': PokemonEncounterSubResource
17491749
}
17501750

17511751
def __repr__(self):

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
except ImportError:
1010
from distutils.core import setup
1111

12-
with open('README.md') as readme_md, open('docs/history.md') as history_md,\
13-
open('requirements.txt') as requirements_txt:
12+
with open('README.md', encoding='utf-8') as readme_md,\
13+
open('docs/history.md', encoding='utf-8') as history_md,\
14+
open('requirements.txt', encoding='utf-8') as requirements_txt:
1415
readme = readme_md.read()
1516
history = history_md.read()
1617
requirements = [req[:req.find('#')].rstrip() for req in requirements_txt.readlines()]

0 commit comments

Comments
 (0)