forked from Wobbl/Wobuzz
Made it work with relative paths also.
This commit is contained in:
parent
74bff6ea13
commit
b2bd8ef784
4 changed files with 11 additions and 5 deletions
|
@ -22,7 +22,7 @@ class Library:
|
|||
self.playlists = [self.temporary_playlist]
|
||||
|
||||
def load(self):
|
||||
path_playlists = f"{self.app.settings.library_path}/playlists"
|
||||
path_playlists = os.path.expanduser(f"{self.app.settings.library_path}/playlists")
|
||||
|
||||
if not os.path.exists(path_playlists):
|
||||
os.makedirs(path_playlists)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue