From 095da90eec9dcb99c011952858232352d2d7e18f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 20 Aug 2010 10:31:31 +0200 Subject: [PATCH] deal with relative path --- bin/oxtimeline | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/oxtimeline b/bin/oxtimeline index fbed6de..928a247 100755 --- a/bin/oxtimeline +++ b/bin/oxtimeline @@ -1,6 +1,6 @@ #!/usr/bin/python -# -*- coding: utf-8 -*- -# vi:si:et:sw=4:sts=4:ts=4 +# -*- coding: utf-8 -*- +# vi:si:et:sw=4:sts=4:ts=4 # GPL 2008 import os @@ -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)