Opened 16 years ago

Last modified 11 years ago

#2759 closed defect

Error in google.py — at Initial Version

Reported by: buvaneswari.chandran@… Owned by: Marcelo Salhab Brogliato
Priority: normal Component: ChartReportGeneratorPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

png file is readable after a small correction in google.py When the output file is opened up for writing, we have to use "wb" (write binary) mode. Then only it was creating a readable output file

  • f = open(filename + '.png', 'w')

+ f = open(filename + '.png', 'wb')

Change History (0)

Note: See TracTickets for help on using tickets.