Minor Stream fix

This commit is contained in:
Vinayak Mehta
2016-09-27 17:27:34 +05:30
parent 79afb45e2e
commit 75c7deffaa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ class Stream:
if len(self.ytol) == 1 and self.ytol[0] == 2:
self.ytol = self.ytol * len(table_bbox)
if len(self.mtol) == 1 and self.mtol[0] == 2:
if len(self.mtol) == 1 and self.mtol[0] == 0:
self.mtol = self.mtol * len(table_bbox)
page = {}
+1 -1
View File
@@ -404,7 +404,7 @@ if __name__ == '__main__':
try:
tarea = args['--tarea'] if args['--tarea'] else None
columns = args['--columns'] if args['--columns'] else None
if args['--ncols']:
if args['--ncols'] and args['--ncols'] != ['-1']:
ncolumns = [int(nc) for nc in args['--ncols']]
else:
ncolumns = None