branch | stable |
changeset 5684 | 015755f67e46 |
parent 5682 | 5628247f51ce |
child 5685 | 17883ced01f8 |
child 5737 | ae49022bf411 |
5683:ca2badf54858 | 5684:015755f67e46 |
---|---|
433 content_type = 'image/png' |
433 content_type = 'image/png' |
434 binary = True |
434 binary = True |
435 |
435 |
436 def cell_call(self, row=0, col=0): |
436 def cell_call(self, row=0, col=0): |
437 tmpfile = self._cw.session.data[self._cw.form['tmpfile']] |
437 tmpfile = self._cw.session.data[self._cw.form['tmpfile']] |
438 print 'tmpfile', tmpfile |
|
439 self.w(open(tmpfile, 'rb').read()) |
438 self.w(open(tmpfile, 'rb').read()) |
440 #os.unlink(tmpfile) |
439 os.unlink(tmpfile) |