]> kaliko git repositories - mpd-sima.git/blobdiff - sima/plugins/internal/lastfm.py
Get rid of inefficient log string formatting
[mpd-sima.git] / sima / plugins / internal / lastfm.py
index 613ddc14230d7f4f78119383817da56034fd072d..81a2b1cb7f2db8f315843a51803be248b6999ee8 100644 (file)
@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-# Copyright (c) 2013, 2014 kaliko <kaliko@azylum.org>
+# Copyright (c) 2013, 2014, 2020 kaliko <kaliko@azylum.org>
 #
 #  This file is part of sima
 #
@@ -44,7 +44,7 @@ class Lastfm(WebService):
         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'))
             SimaFM.cache = FileCache(join(vardir, 'http', 'LastFM'))
         self.ws = SimaFM()