Skip to content

Commit

Permalink
Merge pull request #22 from ymyzk/develop
Browse files Browse the repository at this point in the history
0.10.1
  • Loading branch information
ymyzk committed Nov 19, 2015
2 parents 97894c9 + 7318c8a commit 7c69f1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
# built documents.
#
# The short X.Y version.
version = '0.10.0'
version = '0.10.1'
# The full version, including alpha/beta/rc tags.
release = '0.10.0'
release = '0.10.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions gyazo/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def _request_url(self, url, method, data=None, files=None,

if method == 'get':
try:
return requests.get(url, data=data, headers=headers)
return requests.get(url, params=data, headers=headers)
except requests.RequestException as e:
raise GyazoError(six.text_type(e))
elif method == 'post':
Expand All @@ -137,7 +137,7 @@ def _request_url(self, url, method, data=None, files=None,
raise GyazoError(six.text_type(e))
elif method == 'delete':
try:
return requests.delete(url, data=data, headers=headers)
return requests.delete(url, params=data, headers=headers)
except requests.RequestException as e:
raise GyazoError(six.text_type(e))

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


__author__ = 'Yusuke Miyazaki <[email protected]>'
__version__ = '0.10.0'
__version__ = '0.10.1'

install_requires = [
'Jinja2>=2.8',
Expand Down

0 comments on commit 7c69f1a

Please sign in to comment.