Minor Stream fix
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user