Skip to content

Commit

Permalink
Fixes #35
Browse files Browse the repository at this point in the history
  • Loading branch information
Kronopt committed Mar 1, 2019
1 parent 68c1c87 commit e98e95e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions docs/history.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# History
### 0.5.2 (2019-03-01)
* Fixed bug that caused pokemon_encounters subresource to not be detected in LocationAreaResource
(thanks to [jachymb](https://github.com/jachymb))

### 0.5.1 (2019-02-16)
* New V2Client cache-related methods:
* cache_info
Expand Down
2 changes: 1 addition & 1 deletion pokepy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
__author__ = 'Paul Hallett'
__email__ = '[email protected]'
__credits__ = ["Paul Hallett", "Owen Hallett", "Kronopt"]
__version__ = '0.5.1'
__version__ = '0.5.2'
__copyright__ = 'Copyright Paul Hallett 2016'
__license__ = 'BSD'

Expand Down
2 changes: 1 addition & 1 deletion pokepy/resources_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@ class Meta(BaseResource.Meta):
'encounter_method_rates': EncounterMethodRateSubResource,
'location': NamedAPIResourceSubResource,
'names': NameSubResource,
'pokemon_encounters:': PokemonEncounterSubResource
'pokemon_encounters': PokemonEncounterSubResource
}

def __repr__(self):
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
except ImportError:
from distutils.core import setup

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

0 comments on commit e98e95e

Please sign in to comment.