python-redmine
python-redmine copied to clipboard
File downloaded with redmine.download() is corrupt
I download issue's attachment by using redmine.download(), it's work well most of time, but sometimes the file gets corrupted and no exception occurs. I tried opening the file via a text editor and found the login page html code in there, has anyone encountered this and how to prevent it?