From: yomguy Date: Sat, 6 Oct 2012 20:51:21 +0000 (+0200) Subject: keep all URIs (regr) X-Git-Tag: 0.4.2~22 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=835ceacdbeff7017b3100eae7d4d23d81a211f6b;p=timeside.git keep all URIs (regr) --- diff --git a/timeside/decoder/core.py b/timeside/decoder/core.py index d502e3e..c58f20b 100644 --- a/timeside/decoder/core.py +++ b/timeside/decoder/core.py @@ -62,6 +62,8 @@ class FileDecoder(Processor): # and make a uri of it from urllib import quote self.uri = 'file://'+quote(uri) + elif '://' in uri: + self.uri = uri else: raise IOError, 'File not found!'