From 6a3f8b31432bf3dc322b78c1e61d6513ef4773be Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Mon, 25 Aug 2014 16:36:44 +0200 Subject: [PATCH] Remove unneeded code. --- pixelocr/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelocr/image.py b/pixelocr/image.py index fe1d9bd..efe94ba 100644 --- a/pixelocr/image.py +++ b/pixelocr/image.py @@ -179,7 +179,7 @@ class Image(object): def toqimage(self): from PyQt4.QtGui import QImage return QImage( - np.ascontiguousarray(self.data.astype(np.uint8)).data, + self.data.astype(np.uint8).data, self.data.shape[1], self.data.shape[0], self.data.shape[1] * 3, QImage.Format_RGB888,