diff --git a/docs/source/conf.py b/docs/source/conf.py index ee3952c..bbb39e5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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. diff --git a/gyazo/api.py b/gyazo/api.py index e5431da..af5f263 100644 --- a/gyazo/api.py +++ b/gyazo/api.py @@ -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': @@ -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)) diff --git a/setup.py b/setup.py index 4df492d..d171151 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ __author__ = 'Yusuke Miyazaki ' -__version__ = '0.10.0' +__version__ = '0.10.1' install_requires = [ 'Jinja2>=2.8',