deal with relative path

This commit is contained in:
j 2010-08-20 10:31:31 +02:00
parent fd238eddb5
commit 095da90eec
1 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@ if __name__ == '__main__':
if None in (opts.prefix, opts.input):
parser.print_help()
sys.exit()
opts.input = os.path.abspath(opts.input)
timeline = oxgst.Timeline(opts.input)
timeline.extract(opts.prefix, opts.width, opts.height)