Browse Source

Datadir and fullpath are no longer stored in cached songs

Closes #68
pull/65/head
Louis 10 years ago
parent
commit
d40ae1cea6
  1. 3
      patacrep/songs/__init__.py

3
patacrep/songs/__init__.py

@ -90,8 +90,6 @@ class Song(Content):
"unprefixed_titles",
"cached",
"data",
"datadir",
"fullpath",
"subpath",
"languages",
"authors",
@ -101,6 +99,7 @@ class Song(Content):
def __init__(self, datadir, subpath, config):
self.fullpath = os.path.join(datadir, subpath)
self.datadir = datadir
if datadir:
# Only songs in datadirs are cached
self._filehash = hashlib.md5(

Loading…
Cancel
Save