From 970ec9ba3cbc08e512f57a769d59d4f697f4d368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20Wieczorek?= Date: Thu, 11 Mar 2021 02:19:17 +0100 Subject: [PATCH] Small fix. --- python/skeletonApp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/skeletonApp.py b/python/skeletonApp.py index f10cc9c..3d6ae29 100644 --- a/python/skeletonApp.py +++ b/python/skeletonApp.py @@ -174,7 +174,7 @@ class SkeletonApp(QMainWindow): self.nbRealChannels = 1 if self.bit_planes > 1: - self.nbRealChannels = self.bit_planes / 8 + self.nbRealChannels = int(self.bit_planes / 8) file = open("test_zapisu.txt", 'w')