Minor Stream fix
parent
79afb45e2e
commit
75c7deffaa
|
|
@ -254,7 +254,7 @@ class Stream:
|
||||||
|
|
||||||
if len(self.ytol) == 1 and self.ytol[0] == 2:
|
if len(self.ytol) == 1 and self.ytol[0] == 2:
|
||||||
self.ytol = self.ytol * len(table_bbox)
|
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)
|
self.mtol = self.mtol * len(table_bbox)
|
||||||
|
|
||||||
page = {}
|
page = {}
|
||||||
|
|
|
||||||
|
|
@ -404,7 +404,7 @@ if __name__ == '__main__':
|
||||||
try:
|
try:
|
||||||
tarea = args['--tarea'] if args['--tarea'] else None
|
tarea = args['--tarea'] if args['--tarea'] else None
|
||||||
columns = args['--columns'] if args['--columns'] 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']]
|
ncolumns = [int(nc) for nc in args['--ncols']]
|
||||||
else:
|
else:
|
||||||
ncolumns = None
|
ncolumns = None
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue