deal with relative path
This commit is contained in:
parent
fd238eddb5
commit
095da90eec
1 changed files with 3 additions and 2 deletions
|
@ -27,6 +27,7 @@ if __name__ == '__main__':
|
||||||
if None in (opts.prefix, opts.input):
|
if None in (opts.prefix, opts.input):
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
opts.input = os.path.abspath(opts.input)
|
||||||
|
|
||||||
timeline = oxgst.Timeline(opts.input)
|
timeline = oxgst.Timeline(opts.input)
|
||||||
timeline.extract(opts.prefix, opts.width, opts.height)
|
timeline.extract(opts.prefix, opts.width, opts.height)
|
||||||
|
|
Loading…
Reference in a new issue