File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Expand file tree Collapse file tree 5 files changed +8
-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 = '3.26 '
62
+ version = '3.27 '
63
63
# The full version, including alpha/beta/rc tags.
64
- release = '3.26 '
64
+ release = '3.27 '
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 @@ -1506,7 +1506,9 @@ def start(self, url_state=None):
1506
1506
your app, which gives your app permission to access the user's Dropbox account.
1507
1507
Tell the user to visit this URL and approve your app.
1508
1508
"""
1509
- csrf_token = base64 .urlsafe_b64encode (os .urandom (16 ))
1509
+ csrf_token = base64 .urlsafe_b64encode (os .urandom (16 )) # PY3: Returns bytes
1510
+ if not isinstance (csrf_token , str ):
1511
+ csrf_token = csrf_token .decode ('utf-8' )
1510
1512
state = csrf_token
1511
1513
if url_state is not None :
1512
1514
state += "|" + url_state
Original file line number Diff line number Diff line change 3
3
]
4
4
5
5
# TODO(kelkabany): We need to auto populate this as done in the v1 SDK.
6
- __version__ = '3.26 '
6
+ __version__ = '3.27 '
7
7
8
8
import contextlib
9
9
import json
Original file line number Diff line number Diff line change 31
31
else :
32
32
url_encode = urllib .urlencode
33
33
34
- SDK_VERSION = "3.26 "
34
+ SDK_VERSION = "3.27 "
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 = '3.26 ' ,
28
+ version = '3.27 ' ,
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