~vincent-vandevyvre/qarte/trunk

« back to all changes in this revision

Viewing changes to artePlus.py

  • Committer: Vincent Vande Vyvre
  • Date: 2016-01-26 11:17:25 UTC
  • Revision ID: vincent.vandevyvre@oqapy.eu-20160126111725-mthsyiu1z3gs3vnk
Fix bug 1537785

Show diffs side-by-side

added added

removed removed

Lines of Context:
378
378
 
379
379
        try:
380
380
            with open(f, "a") as objf:
381
 
                objf.write(movie.summary.decode('utf-8', 'replace'))
 
381
                objf.write(movie.summary)
382
382
        except Exception, why:
383
383
            self.main.show_warning(4, why)
384
384
 
647
647
        if self.videos[idx].summary is None:
648
648
            self.videos[idx].summary = u"No informations"
649
649
 
650
 
        summary = self.videos[idx].summary.decode('utf-8', 'replace')
 
650
        #summary = self.videos[idx].summary.decode('utf-8', 'replace')
 
651
        summary = self.videos[idx].summary
651
652
        font = QtGui.QFont("sans", 10)
652
653
        c_form = QtGui.QTextCharFormat()
653
654
        c_form.setFont(font)