inlines fix

This commit is contained in:
ingvar1995 2016-06-22 11:48:00 +03:00
parent 42aa102d1d
commit fb74ea4455
5 changed files with 11 additions and 10 deletions

View file

@ -109,7 +109,7 @@ class ScreenShotWindow(QtGui.QWidget):
buffer = QtCore.QBuffer(byte_array)
buffer.open(QtCore.QIODevice.WriteOnly)
p.save(buffer, 'PNG')
Profile.get_instance().send_screenshot(str(byte_array.data()))
Profile.get_instance().send_screenshot(bytes(byte_array.data()))
self.close()
def keyPressEvent(self, event):