Closed cnjr2 closed 4 years ago
Thank you for the patch!
I'm not sure about this fix though. I do specify argparse.FileType('rb')
so it isn't clear to me why a str is appearing.
If you think this is the correct fix, please could you explain why use of the buffer
attribute is appropriate for Python 3 but not for Python 2?
I'm not sure about this fix though. I do specify argparse.FileType('rb') so it isn't clear to me why a str is appearing.
see my comment in https://github.com/basak/glacier-cli/issues/74#issuecomment-605530828
It's a know issue apparently since 2012: https://bugs.python.org/issue14156
FYI: I created an alternative solution without version sniffing: #77
Thanks. I merged #77, but thank you also to @cnjr2 for finding the original workaround.
attempt at fixing issue #74