Build fixes
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
from unittest import TestCase
|
||||
|
||||
|
||||
class TestFormatPbm(TestCase):
|
||||
|
||||
def test_formatPbm(self):
|
||||
assert True
|
||||
@@ -16,7 +16,7 @@ class FileUtils:
|
||||
|
||||
matrix = [[0 for i in range(width)] for j in range(height)]
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user