We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21baa9b commit 47bbd07Copy full SHA for 47bbd07
notebook/services/contents/largefilemanager.py
@@ -57,7 +57,7 @@ def _save_large_file(self, os_path, content, format):
57
bcontent = content.encode('utf8')
58
else:
59
b64_bytes = content.encode('ascii')
60
- bcontent = base64.decodestring(b64_bytes)
+ bcontent = base64.decodebytes(b64_bytes)
61
except Exception as e:
62
raise web.HTTPError(
63
400, u'Encoding error saving %s: %s' % (os_path, e)
0 commit comments