From 5d69f9476ab0dbd5562d9c46a04bd0087ee2007f Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 3 Nov 2020 15:05:48 +0100 Subject: [PATCH] Fix --- block.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block.py b/block.py index 5107dec..74df5cf 100755 --- a/block.py +++ b/block.py @@ -38,7 +38,7 @@ def splitInput(inputL, n): out = [] inputLen = len(inputL) x = inputLen / float(n) - + last = 0.0 while last < inputLen: out.append( inputL[ int(last):int(last + x) ] ) @@ -66,7 +66,7 @@ if( math.floor(amountBlocks) != math.ceil(amountBlocks) ): exit() Blocks = splitInput(TXT, amountBlocks) -BlocksDe = [None] * len(Blocks) +BlocksDe = [None] * len(Blocks) count = -1 for block in Blocks: