mirror of
https://github.com/beetbox/beets.git
synced 2026-02-25 08:45:01 +01:00
fix #1490 don't overwrite basename argument
This commit is contained in:
parent
a91b337d3e
commit
72075dde5d
1 changed files with 3 additions and 4 deletions
|
|
@ -118,10 +118,9 @@ class ImportFeedsPlugin(BeetsPlugin):
|
|||
paths.append(relpath)
|
||||
|
||||
if 'm3u' in formats:
|
||||
basename = bytestring_path(
|
||||
self.config['m3u_name'].get(unicode)
|
||||
)
|
||||
m3u_path = os.path.join(feedsdir, basename)
|
||||
m3u_basename = bytestring_path(
|
||||
self.config['m3u_name'].get(unicode))
|
||||
m3u_path = os.path.join(feedsdir, m3u_basename)
|
||||
_write_m3u(m3u_path, paths)
|
||||
|
||||
if 'm3u_multi' in formats:
|
||||
|
|
|
|||
Loading…
Reference in a new issue