[pitivi] project: use quote_uri before all URI to be added to a project



commit be20c1c6943d0bfa2a7ad6d450a5afa76f6d6b34
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Fri Jan 11 16:26:44 2013 -0300

    project: use quote_uri before all URI to be added to a project

 pitivi/project.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 79ed2b6..93bce25 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -841,7 +841,7 @@ class Project(Loggable, GES.Project):
         The uris will be analyzed before being added.
         """
         # Do not try to reload URIS that we already have loaded
-        uris = [uri for uri in uris if self.get_asset(uri, GES.TimelineFileSource) is None]
+        uris = [quote_uri(uri) for uri in uris if self.get_asset(uri, GES.TimelineFileSource) is None]
         if not uris:
             return
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]