mirror of
https://github.com/beetbox/beets.git
synced 2025-12-29 12:02:44 +01:00
fix the expanduser of the importfeeds dir configuration
This commit is contained in:
parent
a675b907ed
commit
053e146b0c
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@ class ImportFeedsPlugin(BeetsPlugin):
|
|||
|
||||
feeds_dir = self.config['dir'].get()
|
||||
if feeds_dir:
|
||||
self.config['dir'] = os.path.expanduser(bytestring_path(feeds_dir))
|
||||
feeds_dir = os.path.expanduser(bytestring_path(feeds_dir))
|
||||
self.config['dir'] = feeds_dir
|
||||
if not os.path.exists(syspath(feeds_dir)):
|
||||
os.makedirs(syspath(feeds_dir))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue