[pitivi: 6/6] application.py: make it possible to pass relative
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi: 6/6] application.py: make it possible to pass relative
- Date: Tue, 10 Mar 2009 11:43:43 -0400 (EDT)
commit 18645ad2e4c79bd7d88499ef3268e5a8b0afd0bf
Author: Alessandro Decina <alessandro decina collabora co uk>
Date: Tue Mar 10 13:22:24 2009 +0100
application.py: make it possible to pass relative paths as arguments
---
pitivi/application.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pitivi/application.py b/pitivi/application.py
index ac59894..3876425 100644
--- a/pitivi/application.py
+++ b/pitivi/application.py
@@ -231,7 +231,7 @@ class InteractivePitivi(Pitivi):
if project:
self.loadProject(filepath=project)
- uris = ["file://" + path for path in sources]
+ uris = ["file://" + os.path.abspath(path) for path in sources]
if add_to_timeline:
self._uris = uris
self._duration = self.current.timeline.duration
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]