Browse Source

FIX file:// uri

boyska 6 years ago
parent
commit
3b40b070fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      feed

+ 1 - 1
feed

@@ -132,7 +132,7 @@ def put(audio, copy=False):
         dest = os.path.join(destdir, fname)
         os.makedirs(destdir, exist_ok=True)
         fname, headers = urllib.request.urlretrieve(audio.url, dest)
-        print(fname)
+        print('file://%s' % os.path.realpath(fname))
 
 
 def main():