openshot.code team mailing list archive
-
openshot.code team
-
Mailing list archive
-
Message #00010
[Branch ~openshot.code/openshot/main] Rev 505: Applied a patch from Emil to fix bug #678159, INVALID shown when adding a clip from the command l...
------------------------------------------------------------
revno: 505
committer: Andy Finch <we.rocked.in79@xxxxxxxxx>
branch nick: openshot
timestamp: Wed 2011-08-17 20:45:07 +0100
message:
Applied a patch from Emil to fix bug #678159, INVALID shown when adding a clip from the command line.
modified:
openshot/windows/MainGTK.py
--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main
Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/windows/MainGTK.py'
--- openshot/windows/MainGTK.py 2011-08-16 21:08:06 +0000
+++ openshot/windows/MainGTK.py 2011-08-17 19:45:07 +0000
@@ -824,6 +824,9 @@
self.open_project(arg)
else:
# a media file, add it to the project tree
+ # if the path isn't absolute, make it absolute
+ if not os.path.isabs(arg):
+ arg = os.path.abspath(arg)
self.project.project_folder.AddFile(arg)
self.project.set_project_modified(is_modified=True, refresh_xml=False)