copy file:/// too
This commit is contained in:
parent
bfb51dee44
commit
2995e979ab
1 changed files with 1 additions and 1 deletions
2
feed
2
feed
|
@ -536,7 +536,7 @@ def put(audio, copy=False):
|
|||
fname = "".join(
|
||||
c for c in fname if c.isalnum() or c in list("._-")
|
||||
).rstrip()
|
||||
dest = os.path.join(destdir, fname)
|
||||
dest = os.path.join(destdir, "feed-" + fname)
|
||||
downloader(url, dest)
|
||||
print("file://%s" % os.path.realpath(dest))
|
||||
elif url.startswith("file:///"):
|
||||
|
|
Loading…
Reference in a new issue