Added some small shit that will get used in the future and made the code compatible with Python>=3.10. (According to Pycharm)
This commit is contained in:
parent
36b085d38a
commit
e0c4843f06
3 changed files with 8 additions and 2 deletions
|
@ -365,7 +365,7 @@ class Playlist:
|
|||
|
||||
def path_from_title(self, title):
|
||||
path = os.path.expanduser(
|
||||
f"{self.app.settings.library_path}/playlists/{title.replace(" ", "_")}.wbz.m3u"
|
||||
f"{self.app.settings.library_path}/playlists/{title.replace(' ', '_')}.wbz.m3u"
|
||||
)
|
||||
|
||||
return path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue