From cb04c950d48ac7c7fa9b95b3c39d9a8fb6c5bae0 Mon Sep 17 00:00:00 2001 From: tassaron Date: Thu, 18 May 2017 19:54:48 -0400 Subject: added back in spaces deleted by my editor --- core.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'core.py') diff --git a/core.py b/core.py index ea17edf..8fd95f9 100644 --- a/core.py +++ b/core.py @@ -56,9 +56,8 @@ class Core(): im = im.resize((1280, 720), Image.ANTIALIAS) self._image = ImageQt(im) - + self._image1 = QtGui.QImage(self._image) - painter = QPainter(self._image1) font = titleFont font.setPointSizeF(fontSize) @@ -97,7 +96,7 @@ class Core(): imBottom = imTop.transpose(Image.FLIP_TOP_BOTTOM) - + im = Image.new("RGB", (1280, 720), "black") im.paste(image, (0, 0)) im.paste(imTop, (0, 0), mask=imTop) @@ -114,7 +113,7 @@ class Core(): '-ac', '1', # mono (set to '2' for stereo) '-'] in_pipe = sp.Popen(command, stdout=sp.PIPE, stderr=sp.DEVNULL, bufsize=10**8) - + completeAudioArray = numpy.empty(0, dtype="int16") while True: -- cgit v1.2.3