I looked at Lukasz's code again and it was better, so I updated the
slice accordingly -- thanks once more Luksaz.
--------------
>>not if file is a open('filename','rb')
@Massimo, Please take another look.
def store(self, file, filename=None, path=None):
if not filename:
filename = file.filename
'file' does not have an attribute 'filename'.
You must mean 'file.name' or something.
It must be a bug.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.