persitent_cache = daemon.config.getboolean('lastfm', 'cache')
if persitent_cache:
CacheController.CACHE_ANYWAY = True
persitent_cache = daemon.config.getboolean('lastfm', 'cache')
if persitent_cache:
CacheController.CACHE_ANYWAY = True
- self.log.debug('Persistant cache enabled in {}'.format(join(vardir, 'http', 'LastFM')))
+ self.log.debug('Persistant cache enabled in %s', join(vardir, 'http', 'LastFM'))