326
326
# done either by a setParent or something within the qtreactor, PIL
327
327
# in this case does solve the issue. Sorry :(
328
328
pil_image = Image.open(self.captcha_file)
330
330
pil_image.save(string_io, format='png')
331
331
pixmap_image = QtGui.QPixmap()
332
332
pixmap_image.loadFromData(string_io.getvalue())