Permalink
Browse files

ui/pathwalker: unquote uris. Fixes #615202.

  • Loading branch information...
1 parent e646f81 commit a4d790c7efc939cfd70f00e108afbe54f1084629 @alessandrod alessandrod committed Sep 14, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 pitivi/ui/pathwalker.py
View
@@ -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 @@ def process(self):
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

0 comments on commit a4d790c

Please sign in to comment.