File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 59
59
# built documents.
60
60
#
61
61
# The short X.Y version.
62
- version = '5.2.1 '
62
+ version = '5.2.2 '
63
63
# The full version, including alpha/beta/rc tags.
64
- release = '5.2.1 '
64
+ release = '5.2.2 '
65
65
66
66
# The language for content autogenerated by Sphinx. Refer to documentation
67
67
# for a list of supported languages.
Original file line number Diff line number Diff line change 5
5
]
6
6
7
7
# TODO(kelkabany): We need to auto populate this as done in the v1 SDK.
8
- __version__ = '5.2.1 '
8
+ __version__ = '5.2.2 '
9
9
10
10
import contextlib
11
11
import json
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ def start(self, url_state=None):
272
272
access the user's Dropbox account. Tell the user to visit this URL
273
273
and approve your app.
274
274
"""
275
- csrf_token = base64 .urlsafe_b64encode (os .urandom (16 ))
275
+ csrf_token = base64 .urlsafe_b64encode (os .urandom (16 )). decode ( 'ascii' )
276
276
state = csrf_token
277
277
if url_state is not None :
278
278
state += "|" + url_state
Original file line number Diff line number Diff line change 31
31
else :
32
32
url_encode = urllib .urlencode
33
33
34
- SDK_VERSION = "5.2.1 "
34
+ SDK_VERSION = "5.2.2 "
35
35
36
36
TRUSTED_CERT_FILE = pkg_resources .resource_filename (__name__ , 'trusted-certs.crt' )
37
37
Original file line number Diff line number Diff line change 25
25
26
26
dist = setup (
27
27
name = 'dropbox' ,
28
- version = '5.2.1 ' ,
28
+ version = '5.2.2 ' ,
29
29
description = 'Official Dropbox API Client' ,
30
30
author = 'Dropbox' ,
31
31
author_email = 'dev-platform@dropbox.com' ,
You can’t perform that action at this time.
0 commit comments