Commit e3156ba1 authored by SPeillet's avatar SPeillet
Browse files

BUG: binary split in python3

Showing with 3 additions and 2 deletions
+3 -2
......@@ -7,8 +7,9 @@ import sys
from mtdUtils import setNoDataValue
def getSizeFromOTBInfo(str):
str_lines = str.split('\n')
def getSizeFromOTBInfo(string):
string = str(string)
str_lines = string.split('\\n')
line = None
W, H = -1, -1
for x in str_lines:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment