Build fixes

This commit is contained in:
Marc-Antoine Lafreniere
2019-02-12 12:28:08 -05:00
parent 8fe6da67a3
commit 9d235a803c
2 changed files with 1 additions and 8 deletions

View File

@@ -1,7 +0,0 @@
from unittest import TestCase
class TestFormatPbm(TestCase):
def test_formatPbm(self):
assert True

View File

@@ -16,7 +16,7 @@ class FileUtils:
matrix = [[0 for i in range(width)] for j in range(height)] matrix = [[0 for i in range(width)] for j in range(height)]
for index, value in enumerate(completeFile): for index, value in enumerate(completeFile):
matrix[math.floor(index / width)][index % width] = value matrix[int(math.floor(index / width))][index % width] = value
return matrix return matrix