Browse Source

Use cache only if True

pull/165/head
Oliverpool 9 years ago
parent
commit
28cc48541b
  1. 2
      patacrep/songs/__init__.py

2
patacrep/songs/__init__.py

@ -101,7 +101,7 @@ class Song:
self.use_cache = False
else:
self.datadir = datadir
self.use_cache = ('_cache' in config)
self.use_cache = ('_cache' in config) and config['_cache']
self.fullpath = os.path.join(self.datadir, subpath)
self.subpath = subpath

Loading…
Cancel
Save