[pitivi: 1/2] ui/pathwalker: unquote uris. Fixes #615202.
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 1/2] ui/pathwalker: unquote uris. Fixes #615202.
- Date: Thu, 16 Sep 2010 06:17:12 +0000 (UTC)
commit a4d790c7efc939cfd70f00e108afbe54f1084629
Author: Alessandro Decina <alessandro d gmail com>
Date: Tue Sep 14 18:20:24 2010 +0200
ui/pathwalker: unquote uris. Fixes #615202.
pitivi/ui/pathwalker.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/pathwalker.py b/pitivi/ui/pathwalker.py
index a3b7548..6d60443 100644
--- a/pitivi/ui/pathwalker.py
+++ b/pitivi/ui/pathwalker.py
@@ -21,7 +21,7 @@
import os
import threading
-from urllib import quote
+from urllib import quote, unquote
from urlparse import urlsplit, urlunsplit
from pitivi.threads import Thread
@@ -47,7 +47,7 @@ class PathWalker(Thread):
for folder in self.paths:
self.log("folder %s" % folder)
if folder.startswith("file://"):
- folder = folder[len("file://"):]
+ folder = unquote(folder[len("file://"):])
for path, dirs, files in os.walk(folder):
if self.stopme.isSet():
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]