Melanpan opened this issue 9 years ago · 1 comments
Getting the warning ResourceWarning: unclosed file <_io.BufferedReader on Python 3.5.0.
ResourceWarning: unclosed file <_io.BufferedReader
fd = open(path, 'rb') contents = fd.read() b64 = base64.b64encode(contents)
fd isn't closed after uploading.
Related ? #45