Skip to content

Commit

Permalink
remove up.quote
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Mar 25, 2019
1 parent 9944b3d commit e43f2f6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
# built documents.
#
# The short X.Y version.
version = 'v0.0.6'
version = 'v0.0.7'
# The full version, including alpha/beta/rc tags.
release = 'v0.0.6'
release = 'v0.0.7'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

setup(
name='tdameritrade',
version='0.0.6',
version='0.0.7',
description='APIs for TD Ameritrade',
long_description=long_description,
url='https://github.com/timkpaine/tdameritrade',
download_url='https://github.com/timkpaine/tdameritrade/archive/v0.0.6.tar.gz',
download_url='https://github.com/timkpaine/tdameritrade/archive/v0.0.7.tar.gz',
author='Tim Paine',
author_email='[email protected]',
license='Apache 2.0',
Expand Down
2 changes: 1 addition & 1 deletion tdameritrade/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .client import TDClient # noqa: F401

__version__ = '0.0.6'
__version__ = '0.0.7'
4 changes: 2 additions & 2 deletions tdameritrade/auth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def refresh_token(refresh_token, client_id):
resp = requests.post('https://api.tdameritrade.com/v1/oauth2/token',
headers={'Content-Type': 'application/x-www-form-urlencoded'},
data={'grant_type': 'refresh_token',
'refresh_token': up.quote(refresh_token),
'client_id': up.quote(client_id)})
'refresh_token': refresh_token,
'client_id': client_id})
if resp.status_code != 200:
raise Exception('Could not authenticate!')
return resp.json()
Expand Down

0 comments on commit e43f2f6

Please sign in to comment.