Codebase list sugar-read-activity / 7cfa7ab
Fix preview written to journal Incomplete Port to Python 3. James Cameron 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
13351335 cr.set_source_surface(screenshot_surface)
13361336 cr.paint()
13371337
1338 preview_str = io.StringIO()
1338 preview_str = io.BytesIO()
13391339 preview_surface.write_to_png(preview_str)
13401340 return preview_str.getvalue()