adamhajari / spyre

a web application framework for python
MIT License
832 stars 157 forks source link

Download does not work in Python 3.X #55

Closed ashtonwu closed 7 years ago

ashtonwu commented 8 years ago

In the download(self, args) function, it checks to see if type(filename).name is 'str' or 'instance'. In Python 3.X version of the io lib, type(io.StringIO()).name** is 'StringIO'. Therefore, this function always returns the error message.

adamhajari commented 7 years ago

fixed with this PR: https://github.com/adamhajari/spyre/pull/62