Changeset 76:615a5afaf1a4


Ignore:
Timestamp:
Sep 1, 2009, 10:15:21 AM (11 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68@77
Message:

Make integer data keys (i.e. the API version number) work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyweek-upload.py

    r2 r76  
    3232                ret.write('\nContent-Disposition: form-data; name="%s"'%key)
    3333                ret.write("\n\n")
    34             ret.write(str(value))
     34            value = str(value)
     35            ret.write(value)
    3536            if value and value[-1] == '\r':
    3637                ret.write('\n')  # write an extra newline
Note: See TracChangeset for help on using the changeset viewer.