Subversion Repositories SmartDukaan

Rev

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

Rev 16808 Rev 16809
Line 170... Line 170...
170
                while True:
170
                while True:
171
                    chunk = request.stream.read(4096)
171
                    chunk = request.stream.read(4096)
172
                    if not chunk:
172
                    if not chunk:
173
                        break
173
                        break
174
    
174
    
175
                    filepath.write(chunk)
175
                    image_file.write(chunk)
-
 
176
                    print chunk
176
 
177
 
177
            rejectCount = process_rejects(filepath) #this function is not yet implemented
178
            rejectCount = process_rejects(filepath) #this function is not yet implemented
178
            
179
            
179
            resp.body = """
180
            resp.body = """
180
                <html><head><title>Upload Rejects</title></head><body>
181
                <html><head><title>Upload Rejects</title></head><body>