Subversion Repositories SmartDukaan

Rev

Rev 16822 | Rev 16824 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16822 Rev 16823
Line 183... Line 183...
183
                nextpart = "--" + boundary
183
                nextpart = "--" + boundary
184
                lastpart = "--" + boundary + "--"
184
                lastpart = "--" + boundary + "--"
185
                
185
                
186
                chunk = find_between(chunk, nextpart, lastpart)
186
                chunk = find_between(chunk, nextpart, lastpart)
187
                chunk = chunk.split("\n\n")[1]
187
                chunk = chunk.split("\n\n")[1]
-
 
188
                print chunk
188
                image_file.write(chunk)
189
                image_file.write(chunk)
189
            rejectCount = process_rejects(filepath) #this function is not yet implemented
190
            rejectCount = process_rejects(filepath) #this function is not yet implemented
190
            rejectCount = 1
191
            rejectCount = 1
191
            resp.content_type = 'text/html'
192
            resp.content_type = 'text/html'
192
            resp.body = """
193
            resp.body = """