Minor Stream fix
parent
79afb45e2e
commit
75c7deffaa
|
|
@ -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 = {}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue