python2/3 list/map
This commit is contained in:
parent
3af06a1e1d
commit
d6ef829998
3 changed files with 5 additions and 5 deletions
|
|
@ -48,10 +48,10 @@ tiles without having to decode the video again.
|
|||
parser.print_help()
|
||||
sys.exit()
|
||||
|
||||
opts.videos = map(os.path.abspath, args)
|
||||
opts.videos = list(map(os.path.abspath, args))
|
||||
if opts.points:
|
||||
opts.points = map(float, opts.points.split(','))
|
||||
opts.points = list(map(float, opts.points.split(',')))
|
||||
opts.modes = [m.strip() for m in opts.modes.split(',')]
|
||||
opts.sizes = map(int, opts.sizes.split(','))
|
||||
opts.sizes = list(map(int, opts.sizes.split(',')))
|
||||
|
||||
oxtimelines.Timelines(opts.videos, opts.tiles, opts.cuts, opts.points, opts.modes, opts.sizes, opts.wide, opts.log).render()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue