Jamie,

This one's biting me also. I fixed it for the mean time by making a
copy of FileUploadKeeper and changing these lines:

  def _to_python(self, value, state):
    upload = value.get(self.upload_key)
    static = value.get(self.static_key, '').strip()

into this:

  def _to_python(self, value, state):
    upload = value
    static = None

Of course, this nullifies the benefit of not having to re-upload the
file. But I think there is a mismatch here between FormEncode and
Pylons.

Here's hoping someone who understands FileUploadKeeper will take a
minute and fix it. :)

-- 
Daniel Lyons


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to