From 36dc105dc9e9ac859b64fd4fabc6224462e4e539 Mon Sep 17 00:00:00 2001 From: Rainer Hihn Date: Sat, 27 Apr 2019 17:57:48 +0200 Subject: [PATCH] undid quotes in log messages --- beetsplug/acousticbrainz.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/beetsplug/acousticbrainz.py b/beetsplug/acousticbrainz.py index 4c4315b80..8075788aa 100644 --- a/beetsplug/acousticbrainz.py +++ b/beetsplug/acousticbrainz.py @@ -176,7 +176,7 @@ class AcousticPlugin(plugins.BeetsPlugin): return {} if res.status_code == 404: - self._log.info(u'recording ID \'{}\' not found', mbid) + self._log.info(u'recording ID {} not found', mbid) return {} try: @@ -199,27 +199,27 @@ class AcousticPlugin(plugins.BeetsPlugin): if not force: mood_str = item.get('mood_acoustic', u'') if mood_str: - self._log.info(u'data already present for: \'{}\'', item) + self._log.info(u'data already present for: {}', item) continue # We can only fetch data for tracks with MBIDs. if not item.mb_trackid: continue - self._log.info(u'getting data for: \'{}\'', item) + self._log.info(u'getting data for: {}', item) data = self._get_data(item.mb_trackid) if data: for attr, val in self._map_data_to_scheme(data, ABSCHEME): if not tags or attr in tags: self._log.debug( - u'attribute \'{}\' of \'{}\' set to \'{}\'', + u'attribute {} of {} set to {}', attr, item, val) setattr(item, attr, val) else: - self._log.debug(u'skipping attribute \'{}\' of \'{}\'' - u' (value \'{}\') due to config', + self._log.debug(u'skipping attribute {} of {}' + u' (value {}) due to config', attr, item, val)